Skip to content
Snippets Groups Projects
Commit 424edda9 authored by Anastaszor's avatar Anastaszor
Browse files

Harmonization 2024-07-30 Use Parallel linting in php-cs-config

parent f7ae974e
No related branches found
No related tags found
No related merge requests found
Pipeline #1394301491 passed
......@@ -17,6 +17,13 @@ if(!\class_exists('Composer\Semver\VersionParser'))
class VersionParser {}
}
namespace PhpCsFixer\Runner\Parallel;
if(!class_exists('PhpCsFixer\Runner\Parallel\ParallelConfigFactory'))
{
class ParallelConfigFactory {}
}
namespace PhpCsFixer;
// remove IDE's non existant class errors
......@@ -99,6 +106,7 @@ $doctrine_ignored_tags = [
];
$config = (new \PhpCsFixer\Config())
->setParallelConfig(\PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setUsingCache(false)
->setRiskyAllowed(false)
->setRules([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment