From 579e2311ff948c2752c5d176d027edf9a8fea551 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 04:05:10 +0000 Subject: [PATCH] build(deps): update friendsofphp/php-cs-fixer requirement in /tools Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.88.0...v3.89.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.89.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Emilien Escalle --- Makefile | 2 ++ src/CssLint/Tokenizer/Parser/PropertyParser.php | 2 +- tools/composer.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ceee1b..6e7f333 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,8 @@ phpstan: ## Execute PHPStan for given PHP version @$(call run-php,composer phpstan -- $(filter-out $@,$(MAKECMDGOALS))) ci: ## Execute CI scripts for given PHP version + $(MAKE) build-php + $(MAKE) install @$(call run-php,composer ci -- $(filter-out $@,$(MAKECMDGOALS))) generate-css-referentials: ## Generate referentials for given PHP version diff --git a/src/CssLint/Tokenizer/Parser/PropertyParser.php b/src/CssLint/Tokenizer/Parser/PropertyParser.php index 194b4e1..5859be4 100644 --- a/src/CssLint/Tokenizer/Parser/PropertyParser.php +++ b/src/CssLint/Tokenizer/Parser/PropertyParser.php @@ -113,7 +113,7 @@ private function updatePropertyToken(TokenizerContext $tokenizerContext, Propert } $parts = array_map( - 'trim', + trim(...), explode( self::$PROPERTY_SEPARATOR, $currentContent, diff --git a/tools/composer.json b/tools/composer.json index 840e3df..65ab738 100644 --- a/tools/composer.json +++ b/tools/composer.json @@ -1,6 +1,6 @@ { "require": { - "friendsofphp/php-cs-fixer": "^3.88", + "friendsofphp/php-cs-fixer": "^3.89", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.1", "phpstan/phpstan-phpunit": "^2.0",