diff --git a/.php_cs.dist b/.php_cs.dist index 1c4cd592a2cd77245135adaad28b19d930f2d30d..ced6223b44b1522ab191e28346ed2d022389b16c 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,5 +1,7 @@ <?php declare(strict_types = 1); +require __DIR__ . '/vendor/autoload.php'; + $finder = PhpCsFixer\Finder::create() ->exclude('vendor') ->exclude('node_modules') diff --git a/composer.json b/composer.json index 033fdbf8a208dc9565fee19304f53c7226d75f89..801a3036c0878ba2536eabed757a1ea3292f03f1 100644 --- a/composer.json +++ b/composer.json @@ -68,6 +68,7 @@ "ext-pcov": "*", "hexmedia/yaml-linter": "^0.2", "irstea/composer-require-checker-shim": "^2.0", + "irstea/php-cs-fixer-shim": "^2.15", "irstea/php-cs-fixer-config": "^1.0", "irstea/phpcpd-shim": "^3.0", "irstea/phploc-shim": "^4.0",