From 184d8eb0271b165b28e0148d418f14afbc0db330 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 17 Jul 2025 06:54:20 +0200 Subject: [PATCH] Use new settings for php cs fixer. --- .ci/php-cs-fixer/.php-cs-fixer.php | 1 + .ci/phpcs.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/php-cs-fixer/.php-cs-fixer.php b/.ci/php-cs-fixer/.php-cs-fixer.php index 2117f674a1..eb14b845a9 100644 --- a/.ci/php-cs-fixer/.php-cs-fixer.php +++ b/.ci/php-cs-fixer/.php-cs-fixer.php @@ -33,6 +33,7 @@ $finder = PhpCsFixer\Finder::create() $config = (new PhpCsFixer\Config()) + // ->setUnsupportedPhpVersionAllowed(true) // use this when PHP 8.5 comes out. ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) ; return $config->setRules( diff --git a/.ci/phpcs.sh b/.ci/phpcs.sh index 607e40de90..620a8c3330 100755 --- a/.ci/phpcs.sh +++ b/.ci/phpcs.sh @@ -26,7 +26,7 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cd $SCRIPT_DIR/php-cs-fixer composer update --quiet rm -f .php-cs-fixer.cache -PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix \ +./vendor/bin/php-cs-fixer fix \ --config $SCRIPT_DIR/php-cs-fixer/.php-cs-fixer.php \ --format=txt \ -v \