diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index fb5f9619a..e99f1af3a 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -25,8 +25,12 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; + return (new PhpCsFixer\Config()) ->setRiskyAllowed(true) + ->setParallelConfig(ParallelConfigFactory::detect()) + ->setUnsupportedPhpVersionAllowed(true) ->setRules([ '@Symfony' => true, 'array_indentation' => true, diff --git a/composer.json b/composer.json index 3bf0879f9..8ccda23ee 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "php": ">=7.4" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3", + "friendsofphp/php-cs-fixer": "^3.86.0", "phpunit/phpunit": "^9", "symfony/finder": ">=7", "seld/phar-utils": "^1",