Skip to content

Commit

Permalink
Support PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrokeil committed Dec 11, 2020
1 parent fd92e9e commit f677835
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
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
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@ language: php
matrix:
fast_finish: true
include:
- php: 7.1
- php: 7.3
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.1
- php: 7.3
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.2
- php: 7.4
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.2
- php: 7.4
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 8.0
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 8.0
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"

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.3 || ^8.0",
"friendsofphp/php-cs-fixer": "^2.17.1"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"phpunit/phpunit": "^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

0 comments on commit f677835

Please sign in to comment.