diff --git a/composer.json b/composer.json index 4622bdf..e375a49 100644 --- a/composer.json +++ b/composer.json @@ -24,12 +24,12 @@ "symfony/console": "^5.3||^6||^7" }, "require-dev": { - "friendsofphp/php-cs-fixer": "3.51.0", + "friendsofphp/php-cs-fixer": "3.64.0", "guzzlehttp/guzzle": "^7.8.1", "pear/http_request2": "2.6.0", "phpmd/phpmd": "2.15.0", - "phpstan/phpstan": "1.10.59", - "phpunit/phpunit": "10.5.11", + "phpstan/phpstan": "1.12.7", + "phpunit/phpunit": "10.5.36", "phing/phing": "3.0", "squizlabs/php_codesniffer": "3.9.0" }, diff --git a/tests/vufind.php-cs-fixer.php b/tests/vufind.php-cs-fixer.php index 8b205b7..1780144 100644 --- a/tests/vufind.php-cs-fixer.php +++ b/tests/vufind.php-cs-fixer.php @@ -76,4 +76,5 @@ return $config->setCacheFile($cacheDir . '/.code.cache') ->setRiskyAllowed(true) ->setRules($rules) - ->setFinder($finder); + ->setFinder($finder) + ->setParallelConfig(\PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect());