Skip to content

Commit 627113d

Browse files
authored
Merge pull request #8950 from derrabus/bump/phpstan
PHPStan 0.12.96
2 parents b20743b + 2348296 commit 627113d

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"doctrine/annotations": "^1.13",
4040
"doctrine/coding-standard": "^9.0",
4141
"phpbench/phpbench": "^0.16.10 || ^1.0",
42-
"phpstan/phpstan": "0.12.94",
42+
"phpstan/phpstan": "0.12.96",
4343
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.4",
4444
"squizlabs/php_codesniffer": "3.6.0",
4545
"symfony/cache": "^4.4 || ^5.2",

phpstan-baseline.neon

+3-8
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,12 @@ parameters:
536536
path: lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
537537

538538
-
539-
message: "#^Array \\(array\\<string, array\\|string\\>\\) does not accept key 'options'\\.$#"
539+
message: "#^Array \\(array\\('name' \\=\\> string, 'schema' \\=\\> string, 'indexes' \\=\\> array, 'uniqueConstraints' \\=\\> array\\)\\) does not accept key 'options'\\.$#"
540540
count: 1
541541
path: lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
542542

543543
-
544-
message: "#^Array \\(array\\<string, array\\|string\\>\\) does not accept key 'quoted'\\.$#"
544+
message: "#^Array \\(array\\('name' \\=\\> string, 'schema' \\=\\> string, 'indexes' \\=\\> array, 'uniqueConstraints' \\=\\> array\\)\\) does not accept key 'quoted'\\.$#"
545545
count: 2
546546
path: lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
547547

@@ -1396,7 +1396,7 @@ parameters:
13961396
path: lib/Doctrine/ORM/Query/FilterCollection.php
13971397

13981398
-
1399-
message: "#^Array \\(array\\<int, Doctrine\\\\ORM\\\\Query\\\\AST\\\\SelectExpression\\>\\) does not accept key string\\.$#"
1399+
message: "#^Array \\(array\\<int, Doctrine\\\\ORM\\\\Query\\\\AST\\\\SelectExpression\\>\\) does not accept key non\\-empty\\-string\\.$#"
14001400
count: 1
14011401
path: lib/Doctrine/ORM/Query/Parser.php
14021402

@@ -1446,11 +1446,6 @@ parameters:
14461446
count: 1
14471447
path: lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php
14481448

1449-
-
1450-
message: "#^Parameter \\#2 \\$mode of method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:getColumnAliasMap\\(\\) expects 1\\|2\\|3, int given\\.$#"
1451-
count: 2
1452-
path: lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php
1453-
14541449
-
14551450
message: "#^Array \\(array\\<string, array\\<int, string\\>\\|string\\>\\) does not accept key int\\.$#"
14561451
count: 1

phpstan-params.neon

-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ parameters:
99
Doctrine\ORM\Query\Parser:
1010
- syntaxError
1111
phpVersion: 70100
12-
ignoreErrors:
13-
# The class was added in PHP 8.1
14-
- '/^Attribute class ReturnTypeWillChange does not exist.$/'

0 commit comments

Comments
 (0)