Merge remote-tracking branch 'origin/3.0.x' into 3.1.x

This commit is contained in:
Grégoire Paris
2026-01-12 09:17:23 +01:00
4 changed files with 4 additions and 9 deletions

View File

@@ -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": {

View File

@@ -3,8 +3,3 @@ parameters:
paths:
- %rootDir%/../../../src
- %rootDir%/../../../tests
ignoreErrors:
-
message: '#^Method Doctrine\\Tests\\Common\\Lexer\\AbstractLexerTest\:\:dataProvider\(\) should return array\<int, array\{string, array\<int, Doctrine\\Common\\Lexer\\Token\<string, int\|string\>\>\}\> but returns array\{array\{''price\=10'', array\{Doctrine\\Common\\Lexer\\Token\<string, string\>, Doctrine\\Common\\Lexer\\Token\<string, string\>, Doctrine\\Common\\Lexer\\Token\<string, int\>\}\}\}\.$#'
path: tests/AbstractLexerTest.php

View File

@@ -2,7 +2,7 @@
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"

View File

@@ -10,7 +10,7 @@ use function in_array;
/**
* @template T of UnitEnum|string|int
* @template V of string|int|float|bool
* @template-covariant V of string|int|float|bool
*/
final class Token
{