Skip to content

Commit e341f4a

Browse files
committed
ci: fix deprecation for PhpCsFixer
1 parent b7d4da8 commit e341f4a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
composer-options: "--optimize-autoloader"
5353

5454
- name: "Run PHP-CS-Fixer"
55-
run: vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no --format=checkstyle | cs2pr
55+
run: vendor/bin/php-cs-fixer fix -v --dry-run --allow-unsupported-php-version=yes --using-cache=no --format=checkstyle | cs2pr
5656

5757
phpunit:
5858
name: PHPUnit (PHP ${{ matrix.php }}) (Symfony ${{ matrix.sf_version }})

.php-cs-fixer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
'@Symfony' => true,
1111
'no_superfluous_phpdoc_tags' => false,
1212
'phpdoc_to_comment' => ['ignored_tags' => ['var']], // phpstan errors pops up without this
13-
'unsupportedPhpVersionAllowed' => true,
1413
])
1514
->setFinder($finder)
1615
;

0 commit comments

Comments
 (0)