diff --git a/composer.json b/composer.json index b216ff2..e80d35f 100644 --- a/composer.json +++ b/composer.json @@ -26,13 +26,13 @@ "php": ">=8.1" }, "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" + "squizlabs/php_codesniffer": "3.10.3" } } diff --git a/tests/vufind.php-cs-fixer.php b/tests/vufind.php-cs-fixer.php index 2ba4c1d..361906b 100644 --- a/tests/vufind.php-cs-fixer.php +++ b/tests/vufind.php-cs-fixer.php @@ -75,4 +75,5 @@ return $config->setCacheFile($cacheDir . '/.code.cache') ->setRiskyAllowed(true) ->setRules($rules) - ->setFinder($finder); + ->setFinder($finder) + ->setParallelConfig(\PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect());