Skip to content

Commit b664ac4

Browse files
authored
Drop support for PHP CS Fixer v2
1 parent 735440a commit b664ac4

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,8 @@ jobs:
3131
php-version: [ '7.4', '8.0' ]
3232
include:
3333
- os: ubuntu-latest
34-
php-version: '8.0'
35-
php-cs-fixer-version: '^2'
36-
- os: ubuntu-latest
37-
php-version: '7.4'
38-
php-cs-fixer-version: '^2'
39-
- os: ubuntu-20.04
4034
php-version: '7.3'
41-
- os: ubuntu-18.04
35+
- os: ubuntu-latest
4236
php-version: '7.2'
4337
- os: ubuntu-latest
4438
php-version: '7.2'
@@ -89,10 +83,6 @@ jobs:
8983
key: ${{ runner.os }}-composer-cache-${{ hashFiles('**/composer.json') }}
9084
restore-keys: ${{ runner.os }}-composer-cache-
9185

92-
- name: Configure PHP CS Fixer version
93-
if: matrix.php-cs-fixer-version
94-
run: composer require friendsofphp/php-cs-fixer:${{ matrix.php-cs-fixer-version }} --no-update
95-
9686
- name: Install dependencies
9787
run: composer update --no-progress ${{ matrix.composer_flags }}
9888

CHANGELOG.md

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

3-
## v2.6.0
3+
## v3.0.0
4+
- Drop support for PHP CS Fixer v2
45
- Add StringableInterfaceFixer
56
- NoCommentedOutCodeFixer - do not remove URLs
67
- NoDuplicatedArrayKeyFixer - add option "ignore_expressions"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"php": "^7.2 || ^8.0",
1414
"ext-filter": "*",
1515
"ext-tokenizer": "*",
16-
"friendsofphp/php-cs-fixer": "^2.17 || ^3.0.0",
16+
"friendsofphp/php-cs-fixer": "^3.0.0",
1717
"symfony/finder": "^3.0 || ^4.0 || ^5.0"
1818
},
1919
"require-dev": {

0 commit comments

Comments
 (0)