From 610f129caec98b8ec4c239382c08abe183767108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 17 Feb 2023 22:05:21 +0100 Subject: [PATCH] fix gitlab-ci --- .gitignore | 1 - .gitlab-ci.yml | 6 +++--- .php-cs-fixer.dist.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 26802dca0..2b21a08ae 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ composer.phar composer.lock docs/build/ node_modules/* -.php_cs.cache .cache/* ###> symfony/framework-bundle ### diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08463e847..952533591 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ cache: paths: - tests/app/vendor/ - .cache - - .php_cs.cache # Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service # See http://docs.gitlab.com/ee/ci/services/README.html for examples. @@ -61,7 +60,7 @@ code_style: - bin/grumphp run --tasks=phpcsfixer cache: paths: - - .php_cs.cache + - .cache/ artifacts: expire_in: 30 min paths: @@ -74,7 +73,8 @@ phpstan_tests: script: - bin/phpstan cache: - - .cache/ + paths: + - .cache/ artifacts: expire_in: 30 min paths: diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 07d686de8..4b5bf98ee 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -24,7 +24,7 @@ $config = new PhpCsFixer\Config(); $config ->setFinder($finder) ->setRiskyAllowed(true) - ->setCacheFile('.php_cs.cache') + ->setCacheFile('.cache/php-cs-fixer.cache') ->setUsingCache(true) ;