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",