diff --git a/.phive/phars.xml b/.phive/phars.xml index 8b34d5ce0..2ccb2af1f 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/composer.json b/composer.json index 44733d37c..fb1391b1b 100644 --- a/composer.json +++ b/composer.json @@ -30,15 +30,15 @@ "require-dev": { "php-parallel-lint/php-parallel-lint": "1.4.0", "phpstan/extension-installer": "1.4.3", - "phpstan/phpstan": "1.12.32 || 2.1.32", - "phpstan/phpstan-phpunit": "1.4.2 || 2.0.8", - "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.7", + "phpstan/phpstan": "1.12.33 || 2.1.47", + "phpstan/phpstan-phpunit": "1.4.2 || 2.0.16", + "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.10", "phpunit/phpunit": "8.5.52", "rawr/phpunit-data-provider": "3.3.1", - "rector/rector": "1.2.10 || 2.2.8", - "rector/type-perfect": "1.0.0 || 2.1.0", + "rector/rector": "1.2.10 || 2.4.1", + "rector/type-perfect": "1.0.0 || 2.1.3", "squizlabs/php_codesniffer": "4.0.1", - "thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.1" + "thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.3" }, "suggest": { "ext-mbstring": "for parsing UTF-8 CSS" diff --git a/config/phpstan-baseline.neon b/config/phpstan-baseline.neon index ea84804b7..49ebbf94e 100644 --- a/config/phpstan-baseline.neon +++ b/config/phpstan-baseline.neon @@ -13,14 +13,14 @@ parameters: path: ../src/CSSList/CSSList.php - - message: '#^Parameters should have "string\|null" types as the only types passed to this method$#' - identifier: typePerfect.narrowPublicClassMethodParamType + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 - path: ../src/CSSList/Document.php + path: ../src/Parsing/ParserState.php - - message: '#^Negated boolean expression is always true\.$#' - identifier: booleanNot.alwaysTrue + message: '#^Parameters should have "string\|int\|null" types as the only types passed to this method$#' + identifier: typePerfect.narrowPublicClassMethodParamType count: 1 path: ../src/Parsing/ParserState.php