Skip to content

Commit b91c03e

Browse files
authored
Updated dep php_codesniffer, added support for php 7.0 - php 7.0 | php 8.0 (#93)
* updated php_codesniffer and pulled latest deps Signed-off-by: fenn-cs <[email protected]> * removed travis-ci and added github actions build status to readme Signed-off-by: fenn-cs <[email protected]>
1 parent b07f26a commit b91c03e

File tree

5 files changed

+1675
-805
lines changed

5 files changed

+1675
-805
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33
jobs:
44
main:
55
name: phpList Base Dist on PHP ${{ matrix.php-versions }}, with dist ${{ matrix.dependencies }} [Build, Test]
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-20.04
77
env:
88
DB_DATABASE: phplist
99
DB_USERNAME: root

.travis.yml

-80
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# phpList 4 base distribution
22

3-
[![Build Status](https://travis-ci.com/phpList/base-distribution.svg?branch=master)](https://travis-ci.org/phpList/base-distribution)
3+
[![Build Status](https://github.com/phpList/base-distribution/workflows/phpList%20Build/badge.svg)](https://github.com/phpList/web-frontend/actions)
44
[![Latest Stable Version](https://poser.pugx.org/phplist/base-distribution/v/stable.svg)](https://packagist.org/packages/phpList/base-distribution)
55
[![Total Downloads](https://poser.pugx.org/phplist/base-distribution/downloads.svg)](https://packagist.org/packages/phpList/base-distribution)
66
[![Latest Unstable Version](https://poser.pugx.org/phplist/base-distribution/v/unstable.svg)](https://packagist.org/packages/phpList/base-distribution)

composer.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@
2828
"source": "https://github.com/phpList/base-distribution"
2929
},
3030
"require": {
31-
"php": "~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0",
32-
31+
"php": "^7.0|^8.0",
3332
"phplist/core": "4.0.x-dev",
3433
"phplist/rest-api": "4.0.x-dev"
3534
},
3635
"require-dev": {
3736
"phpunit/phpunit": "^6.5.6",
3837
"phpunit/phpunit-mock-objects": "^5.0.6",
3938
"guzzlehttp/guzzle": "^6.3.0",
40-
"squizlabs/php_codesniffer": "^3.2.0",
39+
"squizlabs/php_codesniffer": "^3.5.8",
4140
"phpstan/phpstan": "^0.7.0",
4241
"nette/caching": "^2.5.0 || ^3.0.0",
4342
"nikic/php-parser": "^3.1.0",

0 commit comments

Comments
 (0)