Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PHP 8 #8

Merged
merged 1 commit into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of `prooph/php-cs-fixer-config`.
* (c) 2016-2018 prooph software GmbH <[email protected]>
* (c) 2016-2018 Sascha-Oliver Prolic <[email protected]>
* (c) 2016-2020 prooph software GmbH <[email protected]>
* (c) 2016-2020 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
22 changes: 21 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ matrix:
- php: 7.2
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.3
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.3
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.4
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.4
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 8.0
env:
- DEPENDENCIES=""
- php: 8.0
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"

cache:
directories:
Expand All @@ -31,7 +51,7 @@ before_script:

script:
- 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
- ./vendor/bin/php-cs-fixer fix -v --diff --dry-run
- if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi

after_success:
- if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
}
],
"require": {
"php": "^7.1",
"friendsofphp/php-cs-fixer": "^2.16.3"
"php": "^7.1 || ^8.0",
"friendsofphp/php-cs-fixer": "^2.17.1"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"phpunit/phpunit": "^7.5 || ^9.5",
"satooshi/php-coveralls": "^1.0"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions src/Prooph.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of `prooph/php-cs-fixer-config`.
* (c) 2016-2018 prooph software GmbH <[email protected]>
* (c) 2016-2018 Sascha-Oliver Prolic <[email protected]>
* (c) 2016-2020 prooph software GmbH <[email protected]>
* (c) 2016-2020 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/ProophTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of `prooph/php-cs-fixer-config`.
* (c) 2016-2018 prooph software GmbH <[email protected]>
* (c) 2016-2018 Sascha-Oliver Prolic <[email protected]>
* (c) 2016-2020 prooph software GmbH <[email protected]>
* (c) 2016-2020 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down