File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1515 ->in (__DIR__ .'/tests ' )->exclude ('Fixtures/var ' )
1616;
1717
18- $ config = new PhpCsFixer \Config ();
19- return $ config
18+ return (new PhpCsFixer \Config ())
19+ ->setParallelConfig (PhpCsFixer \Runner \Parallel \ParallelConfigFactory::detect ())
20+ ->setUnsupportedPhpVersionAllowed (true )
21+
2022 ->setRiskyAllowed (true )
2123 ->setRules ([
2224 '@Symfony ' => true ,
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ cd $(dirname $0)/..
44
55export APP_ENV=test
66export APP_DEBUG=1
7- export PHP_CS_FIXER_IGNORE_ENV=true
87export XDEBUG_MODE=coverage
98
10- vendor/bin/php-cs-fixer fix
9+ vendor/bin/php-cs-fixer fix --quiet
1110vendor/bin/phpstan
1211
1312# Clear cache manually to avoid locking up with corrupted container
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ parameters:
55 ignoreErrors :
66 - ' #FetchJoinORMOptions contains unresolvable type #'
77
8+ # Symfony Config component is not compatible with high PHPstan levels yet
9+ - ' #Symfony\\Component\\Config\\Definition\\Builder #'
10+
811 # New PHPStan 2 errors
912 - { identifier : missingType.generics }
1013 excludePaths :
You can’t perform that action at this time.
0 commit comments