diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php similarity index 96% rename from .php_cs.dist rename to .php-cs-fixer.dist.php index 3447a560a..3d8b09722 100644 --- a/.php_cs.dist +++ b/.php-cs-fixer.dist.php @@ -23,8 +23,7 @@ $config = require $vendorDirectory . '/drupol/php-conventions/config/php73/php_c $config ->getFinder() - ->ignoreDotFiles(false) - ->name(['.php_cs.dist']); + ->ignoreDotFiles(false); $rules = $config->getRules(); diff --git a/composer.json b/composer.json index 2dac55ac3..78e9eaa5e 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "symfony/symfony": "*" }, "require-dev": { - "drupol/php-conventions": "4.*", + "drupol/php-conventions": "5.*", "fakerphp/faker": "^1.13", "phpunit/phpunit": "^7.0", "symfony/dotenv": "^5.1", diff --git a/grumphp.yml b/grumphp.yml index e8b2f2f73..c0ffd03e0 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -2,7 +2,7 @@ imports: - { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml } parameters: - tasks.phpcsfixer.config: .php_cs.dist + tasks.phpcsfixer.config: .php-cs-fixer.dist.php tasks.license.name: AGPL-3.0 tasks.license.holder: Champs-Libres tasks.license.date_from: 2001