diff --git a/src/tools.ts b/src/tools.ts index a7831900..835a476e 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -120,7 +120,7 @@ export default function createTools(config: Config): Array { executionType : ToolExecutionType.STATIC, name : 'PHP CS Fixer', command : './vendor/bin/php-cs-fixer fix -v --diff --dry-run', - filesToCheck : [ '.php-cs-fixer.php' ], + filesToCheck : [ '.php-cs-fixer.php', '.php-cs-fixer.dist.php' ], toolType : ToolType.CODE_CHECK, } ] diff --git a/tests/code-check-phpcsfixer-php-dist/.laminas-ci.json b/tests/code-check-phpcsfixer-php-dist/.laminas-ci.json new file mode 100644 index 00000000..a912e7b6 --- /dev/null +++ b/tests/code-check-phpcsfixer-php-dist/.laminas-ci.json @@ -0,0 +1,3 @@ +{ + "stablePHP": "7.4" +} diff --git a/tests/code-check-phpcsfixer-php-dist/.php-cs-fixer.dist.php b/tests/code-check-phpcsfixer-php-dist/.php-cs-fixer.dist.php new file mode 100644 index 00000000..b3d9bbc7 --- /dev/null +++ b/tests/code-check-phpcsfixer-php-dist/.php-cs-fixer.dist.php @@ -0,0 +1 @@ +