diff --git a/Makefile b/Makefile index b959b04..10e7fe1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ifdef CI DOCKER_PHP_EXEC := else - DOCKER_PHP_EXEC := docker compose run --rm php + DOCKER_PHP_EXEC := docker compose run --rm --env PHP_CS_FIXER_IGNORE_ENV=1 php endif all: csfix static-analysis test diff --git a/composer.json b/composer.json index 9f5c65f..16ed953 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,10 @@ "php": "~8.3.0 || ~8.4.0" }, "require-dev": { - "phpstan/phpstan": "^2", - "phpstan/phpstan-phpunit": "^2", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "^11.5.1", + "phpstan/phpstan": "^2.1.1", + "phpstan/phpstan-phpunit": "^2.0.3", + "phpstan/phpstan-strict-rules": "^2.0.1", + "phpunit/phpunit": "^11.5.2", "slam/php-cs-fixer-extensions": "^3.12", "symfony/console": "^7.2.1" }, diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4818c52..403c999 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -6,12 +6,6 @@ parameters: count: 1 path: lib/ErrorHandler.php - - - message: '#^Parameter \#2 \$array of function implode expects array\, mixed given\.$#' - identifier: argument.type - count: 1 - path: lib/ErrorHandler.php - - message: '#^Parameter \#2 \$array of function implode expects array\|null, mixed given\.$#' identifier: argument.type

AltStyle によって変換されたページ (->オリジナル) /