diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 67d241ec5e..c20f24b447 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -6,16 +6,11 @@ $finder = $config->getFinder() ->ignoreDotFiles(false) - ->in(__DIR__) - ->exclude('manual/en/') - ->name('*.inc') - ->name('.php-cs-fixer.php') - ->notPath('include/last_updated.inc') - ->notPath('include/pregen-confs.inc') - ->notPath('include/pregen-news.inc') - ->notPath('include/releases.inc') - ->notPath('include/version.inc') - ->notPath('tests/run-tests.php'); + ->in([ + __DIR__ . '/src', + __DIR__ . '/tests', + ]) + ->notName('run-tests.php'); $config ->setRiskyAllowed(true)