diff options
Diffstat (limited to 'ecs.php')
| -rw-r--r-- | ecs.php | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -2,16 +2,17 @@ declare(strict_types=1); +use PhpCsFixer\Fixer\FunctionNotation\NativeFunctionInvocationFixer; +use PhpCsFixer\Fixer\Import\GlobalNamespaceImportFixer; use Symplify\EasyCodingStandard\Config\ECSConfig; use Symplify\EasyCodingStandard\ValueObject\Set\SetList; -use PhpCsFixer\Fixer\Import\GlobalNamespaceImportFixer; -use PhpCsFixer\Fixer\FunctionNotation\NativeFunctionInvocationFixer; return function (ECSConfig $ecsConfig): void { $ecsConfig->paths([ __DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/examples', + __DIR__ . '/tools', ]); $ecsConfig->sets([ SetList::CLEAN_CODE, @@ -23,4 +24,8 @@ return function (ECSConfig $ecsConfig): void { 'import_constants' => true, 'import_functions' => true, ]); + $ecsConfig->skip([ + // Skip checking auto-generated files. + __DIR__ . '/tests/src/SpecTestsuites/Core', + ]); }; |
