diff --git a/composer.json b/composer.json index 653829b..811f104 100644 --- a/composer.json +++ b/composer.json @@ -30,8 +30,8 @@ }, "require-dev": { "doctrine/coding-standard": "^14", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^10.5.58" + "phpstan/phpstan": "^2", + "phpunit/phpunit": "^10.5.58 || ^12.5.4" }, "autoload": { "psr-4": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 8d89ad9..6d0fc0d 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -3,8 +3,3 @@ parameters: paths: - %rootDir%/../../../src - %rootDir%/../../../tests - - ignoreErrors: - - - message: '#^Method Doctrine\\Tests\\Common\\Lexer\\AbstractLexerTest\:\:dataProvider\(\) should return array\\>\}\> but returns array\{array\{''price\=10'', array\{Doctrine\\Common\\Lexer\\Token\, Doctrine\\Common\\Lexer\\Token\, Doctrine\\Common\\Lexer\\Token\\}\}\}\.$#' - path: tests/AbstractLexerTest.php diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 20d5827..84f745c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,7 +2,7 @@