From 770392638ce031a1bdb3e1e44fb60dfed412e1f1 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 19 Aug 2024 10:32:15 +0200 Subject: [PATCH] Adjust tasks --- .php-cs-fixer.dist.php | 2 +- composer.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 2274132f..f07fbe24 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -5,7 +5,7 @@ $finder = (new PhpCsFixer\Finder()) ->in(__DIR__) ->ignoreDotFiles(false) - ->exclude('var/') + ->exclude('var') ->notName('bundles.php'); return (new PhpCsFixer\Config()) diff --git a/composer.json b/composer.json index 84d31b1e..d745b5af 100644 --- a/composer.json +++ b/composer.json @@ -141,6 +141,7 @@ "@lint-php-cs", "@lint-rector", "@lint-twig", + "@lint-twig-cs", "@lint-yaml", "@lint-container", "@lint-composer", @@ -164,8 +165,8 @@ ], "php-cs-fix": "@php vendor/bin/php-cs-fixer fix", "lint-php-cs": "@php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run", - "lint-twig-cs": "@php vendor/bin/twig-cs-fixer lint", "twig-cs-fix": "@php vendor/bin/twig-cs-fixer lint --fix", + "lint-twig-cs": "@php vendor/bin/twig-cs-fixer lint", "lint-composer": "@composer validate --no-check-publish --strict", "lint-twig": "@php bin/console lint:twig templates/", "lint-yaml": "@php bin/console lint:yaml config/ --parse-tags",