Skip to content

Commit cff5346

Browse files
authored
Merge pull request #163 from greg0ire/3.1.x
Merge 3.1.x up into 4.0.x
2 parents 05210d3 + 6f8ca58 commit cff5346

4 files changed

Lines changed: 4 additions & 9 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"require-dev": {
3232
"doctrine/coding-standard": "^14",
33-
"phpstan/phpstan": "^1.10",
34-
"phpunit/phpunit": "^10.5.58"
33+
"phpstan/phpstan": "^2",
34+
"phpunit/phpunit": "^10.5.58 || ^12.5.4"
3535
},
3636
"autoload": {
3737
"psr-4": {

phpstan.neon.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,3 @@ parameters:
33
paths:
44
- %rootDir%/../../../src
55
- %rootDir%/../../../tests
6-
7-
ignoreErrors:
8-
-
9-
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\>\}\}\}\.$#'
10-
path: tests/AbstractLexerTest.php

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

src/Token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* @template T of UnitEnum|string|int
13-
* @template V of string|int|float|bool
13+
* @template-covariant V of string|int|float|bool
1414
*/
1515
final readonly class Token
1616
{

0 commit comments

Comments
 (0)