diff --git a/composer.json b/composer.json index 2ecd4ec..9be24c4 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "require-dev": { "squizlabs/php_codesniffer": "^3.7", "overtrue/phplint": "^1.0", - "phpstan/phpstan": "^1.8", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^7.0|^8.5.30|^9.0", "equip/dispatch": "^2.0", "laminas/laminas-diactoros": "^2.0" diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 50a3f0a..c88bd3a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,7 @@ parameters: ignoreErrors: + - + message: '#^Method .* is unused.$#' - message: "#^Offset 'secret' does not exist on array\\{secret\\?\\: array\\\\|string, secure\\: bool, relaxed\\: array\\, algorithm\\: array\\, header\\: string, regexp\\: string, cookie\\: string, attribute\\: string, \\.\\.\\.\\}\\.$#" count: 1