Skip to content

Commit 72c60ce

Browse files
authored
Allow PHP 8 (#442)
1 parent 928c733 commit 72c60ce

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ macos-latest, ubuntu-latest, windows-latest ]
32-
php-version: [ '7.4' ]
32+
php-version: [ '7.4', '8.0' ]
3333
include:
3434
- os: ubuntu-latest
3535
php-version: '7.2'
@@ -38,9 +38,6 @@ jobs:
3838
php-version: '7.2'
3939
- os: ubuntu-latest
4040
php-version: '7.3'
41-
- os: ubuntu-latest
42-
php-version: '8.0'
43-
composer_flags: '--ignore-platform-reqs'
4441

4542
runs-on: ${{ matrix.os }}
4643

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CHANGELOG for PHP CS Fixer: custom fixers
22

33
## v2.4.0 - [Unreleased]
4+
- Allow PHP 8
45
- Update PHP CS Fixer to v2.17
56
- Deprecate NoUselessSprintfFixer - use "no_useless_sprintf"
67
- Deprecate OperatorLinebreakFixer - use "operator_linebreak"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2",
13+
"php": "^7.2 || ^8.0",
1414
"ext-tokenizer": "*",
1515
"friendsofphp/php-cs-fixer": "^2.17",
1616
"symfony/finder": "^3.0 || ^4.0 || ^5.0"

0 commit comments

Comments
 (0)