Skip to content

Commit 72d4d24

Browse files
committed
chore: update composer dependencies, fix php-cs-fixer deprecation
* composer update — minor/patch bumps across Symfony 8.0.9→8.0.11, EasyAdmin 5.0.7→5.0.8, php-cs-fixer 3.95.1→3.95.2, PHPUnit 13.1.8→13.1.10, PHPStan, Doctrine and friends. No security advisories. composer.json validates strict. * Replace the deprecated PHP_CS_FIXER_IGNORE_ENV=1 env var on the coding-standards scripts with $config->setUnsupportedPhpVersionAllowed(true) in .php-cs-fixer.dist.php (the supported replacement; the env var is removed in php-cs-fixer 4.0).
1 parent 7ca65cf commit 72d4d24

3 files changed

Lines changed: 174 additions & 170 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
$config = new PhpCsFixer\Config();
1616
$config->setFinder($finder);
17+
// Allow running on PHP versions php-cs-fixer doesn't officially support yet
18+
// (we run on the latest stable PHP). Replaces the deprecated
19+
// PHP_CS_FIXER_IGNORE_ENV env var.
20+
$config->setUnsupportedPhpVersionAllowed(true);
1721

1822
$config->setRules([
1923
'@Symfony' => true,

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@
114114
"assets:install %PUBLIC_DIR%": "symfony-cmd"
115115
},
116116
"coding-standards-apply": [
117-
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix"
117+
"vendor/bin/php-cs-fixer fix"
118118
],
119119
"coding-standards-check": [
120-
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run"
120+
"vendor/bin/php-cs-fixer fix --dry-run"
121121
],
122122
"fixtures-load": [
123123
"bin/console hautelook:fixtures:load --no-interaction"

0 commit comments

Comments
 (0)