Skip to content

Commit 71b386b

Browse files
committed
Support PHP 8
1 parent fd92e9e commit 71b386b

File tree

5 files changed

+30
-10
lines changed

5 files changed

+30
-10
lines changed

.php_cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of `prooph/php-cs-fixer-config`.
5-
* (c) 2016-2018 prooph software GmbH <contact@prooph.de>
6-
* (c) 2016-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2016-2020 prooph software GmbH <contact@prooph.de>
6+
* (c) 2016-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

.travis.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ matrix:
1717
- php: 7.2
1818
env:
1919
- DEPENDENCIES="--prefer-lowest --prefer-stable"
20+
- php: 7.3
21+
env:
22+
- DEPENDENCIES=""
23+
- TEST_COVERAGE=true
24+
- php: 7.3
25+
env:
26+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
27+
- php: 7.4
28+
env:
29+
- DEPENDENCIES=""
30+
- TEST_COVERAGE=true
31+
- php: 7.4
32+
env:
33+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
34+
- php: 8.0
35+
env:
36+
- DEPENDENCIES=""
37+
- php: 8.0
38+
env:
39+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
2040

2141
cache:
2242
directories:
@@ -31,7 +51,7 @@ before_script:
3151

3252
script:
3353
- if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi
34-
- ./vendor/bin/php-cs-fixer fix -v --diff --dry-run
54+
- if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi
3555

3656
after_success:
3757
- if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.1",
19-
"friendsofphp/php-cs-fixer": "^2.16.3"
18+
"php": "^7.1 || ^8.0",
19+
"friendsofphp/php-cs-fixer": "^2.17.1"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^6.0",
22+
"phpunit/phpunit": "^7.5 || ^9.5",
2323
"satooshi/php-coveralls": "^1.0"
2424
},
2525
"autoload": {

src/Prooph.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of `prooph/php-cs-fixer-config`.
5-
* (c) 2016-2018 prooph software GmbH <contact@prooph.de>
6-
* (c) 2016-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2016-2020 prooph software GmbH <contact@prooph.de>
6+
* (c) 2016-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/ProophTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of `prooph/php-cs-fixer-config`.
5-
* (c) 2016-2018 prooph software GmbH <contact@prooph.de>
6-
* (c) 2016-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2016-2020 prooph software GmbH <contact@prooph.de>
6+
* (c) 2016-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)