Skip to content

Commit 6f54011

Browse files
committed
Merge remote-tracking branch 'origin/2.10.x' into 2.11.x
2 parents 7190ac5 + 760397c commit 6f54011

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -895,16 +895,6 @@ parameters:
895895
count: 1
896896
path: lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php
897897

898-
-
899-
message: "#^Parameter \\#2 \\$start of method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getSubstringExpression\\(\\) expects int, string given\\.$#"
900-
count: 1
901-
path: lib/Doctrine/ORM/Query/AST/Functions/SubstringFunction.php
902-
903-
-
904-
message: "#^Parameter \\#3 \\$length of method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getSubstringExpression\\(\\) expects int\\|null, string\\|null given\\.$#"
905-
count: 1
906-
path: lib/Doctrine/ORM/Query/AST/Functions/SubstringFunction.php
907-
908898
-
909899
message: "#^Parameter \\#1 \\$simpleArithmeticExpr of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkSimpleArithmeticExpression\\(\\) expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node given\\.$#"
910900
count: 1

phpstan-dbal2.neon

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,14 @@ parameters:
3030
message: '/^Parameter #3 \$startPos of method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getLocateExpression\(\) expects int\|false, string given\.$/'
3131
count: 1
3232
path: lib/Doctrine/ORM/Query/AST/Functions/LocateFunction.php
33+
34+
# Won't get fixed in DBAL 2
35+
-
36+
message: "#^Parameter \\#2 \\$start of method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getSubstringExpression\\(\\) expects int, string given\\.$#"
37+
count: 1
38+
path: lib/Doctrine/ORM/Query/AST/Functions/SubstringFunction.php
39+
40+
-
41+
message: "#^Parameter \\#3 \\$length of method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getSubstringExpression\\(\\) expects int\\|null, string\\|null given\\.$#"
42+
count: 1
43+
path: lib/Doctrine/ORM/Query/AST/Functions/SubstringFunction.php

phpstan.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,3 @@ parameters:
3838
message: '/^Call to an undefined method Doctrine\\Common\\Cache\\Cache::deleteAll\(\)\.$/'
3939
count: 1
4040
path: lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.php
41-
# See https://github.com/doctrine/dbal/pull/5129
42-
-
43-
message: '/^Parameter #3 \$startPos of method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getLocateExpression\(\) expects int\|false, string given\.$/'
44-
count: 1
45-
path: lib/Doctrine/ORM/Query/AST/Functions/LocateFunction.php

0 commit comments

Comments
 (0)