You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,5 @@
1
1
parameters:
2
2
ignoreErrors:
3
-
-
4
-
message:'#^Expression "\$setCacheEntry\(\$data\)" on a separate line does not do anything\.$#'
5
-
identifier:expr.resultUnused
6
-
count:1
7
-
path:src/AbstractQuery.php
8
-
9
-
-
10
-
message:'#^Expression "\$setCacheEntry\(\$stmt\)" on a separate line does not do anything\.$#'
11
-
identifier:expr.resultUnused
12
-
count:1
13
-
path:src/AbstractQuery.php
14
-
15
3
-
16
4
message:'#^Method Doctrine\\ORM\\AbstractQuery\:\:getParameter\(\) should return Doctrine\\ORM\\Query\\Parameter\|null but returns Doctrine\\ORM\\Query\\Parameter\|false\|null\.$#'
17
5
identifier:return.type
@@ -234,12 +222,6 @@ parameters:
234
222
count:1
235
223
path:src/Cache/DefaultQueryCache.php
236
224
237
-
-
238
-
message:'#^Parameter \#1 \$result of class Doctrine\\ORM\\Cache\\QueryCacheEntry constructor expects array\<string, mixed\>, array\<int\|string, array\<string, array\<mixed\>\>\> given\.$#'
239
-
identifier:argument.type
240
-
count:1
241
-
path:src/Cache/DefaultQueryCache.php
242
-
243
225
-
244
226
message:'#^Parameter \#2 \$key of method Doctrine\\ORM\\Cache\\Logging\\CacheLogger\:\:entityCacheHit\(\) expects Doctrine\\ORM\\Cache\\EntityCacheKey, Doctrine\\ORM\\Cache\\CacheKey given\.$#'
245
227
identifier:argument.type
@@ -516,6 +498,12 @@ parameters:
516
498
count:1
517
499
path:src/Cache/TimestampQueryCacheValidator.php
518
500
501
+
-
502
+
message:'#^Call to function is_a\(\) with arguments class\-string\<Doctrine\\ORM\\EntityRepository\>, ''Doctrine\\\\ORM\\\\EntityRepository'' and true will always evaluate to true\.$#'
503
+
identifier:function.alreadyNarrowedType
504
+
count:1
505
+
path:src/Configuration.php
506
+
519
507
-
520
508
message:'#^Method Doctrine\\ORM\\Configuration\:\:getDefaultRepositoryClassName\(\) return type with generic class Doctrine\\ORM\\EntityRepository does not specify its types\: T$#'
521
509
identifier:missingType.generics
@@ -558,12 +546,6 @@ parameters:
558
546
count:1
559
547
path:src/Decorator/EntityManagerDecorator.php
560
548
561
-
-
562
-
message:'#^Call to an undefined method object\:\:setEntityManager\(\)\.$#'
563
-
identifier:method.notFound
564
-
count:1
565
-
path:src/EntityManager.php
566
-
567
549
-
568
550
message:'#^Method Doctrine\\ORM\\EntityManager\:\:checkLockRequirements\(\) has parameter \$class with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
message:'#^Method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:getClassMetadata\(\) return type with generic class Doctrine\\ORM\\Mapping\\ClassMetadata does not specify its types\: T$#'
719
707
identifier:missingType.generics
@@ -733,13 +721,13 @@ parameters:
733
721
path:src/Internal/Hydration/AbstractHydrator.php
734
722
735
723
-
736
-
message:'#^Parameter &\$id by\-ref type of method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:gatherRowData\(\) expects array\<string, string\>, array\<int\|string, string\> given\.$#'
724
+
message:'#^Parameter &\$id by\-ref type of method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:gatherRowData\(\) expects array\<string, string\>, array\<string\> given\.$#'
737
725
identifier:parameterByRef.type
738
726
count:1
739
727
path:src/Internal/Hydration/AbstractHydrator.php
740
728
741
729
-
742
-
message:'#^Parameter &\$nonemptyComponents by\-ref type of method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:gatherRowData\(\) expects array\<string, bool\>, array\<int\|string, bool\> given\.$#'
730
+
message:'#^Parameter &\$nonemptyComponents by\-ref type of method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:gatherRowData\(\) expects array\<string, bool\>, array\<bool\> given\.$#'
743
731
identifier:parameterByRef.type
744
732
count:1
745
733
path:src/Internal/Hydration/AbstractHydrator.php
@@ -1074,6 +1062,12 @@ parameters:
1074
1062
count:1
1075
1063
path:src/Mapping/ClassMetadata.php
1076
1064
1065
+
-
1066
+
message:'#^Template type T is declared as covariant, but occurs in invariant position in return type of method Doctrine\\ORM\\Mapping\\ClassMetadata\:\:getReflectionClass\(\)\.$#'
1067
+
identifier:generics.variance
1068
+
count:1
1069
+
path:src/Mapping/ClassMetadata.php
1070
+
1077
1071
-
1078
1072
message:'#^Unable to resolve the template type C in call to method Doctrine\\ORM\\Mapping\\ClassMetadata\<T of object\>\:\:fullyQualifiedClassName\(\)$#'
1079
1073
identifier:argument.templateType
@@ -2919,6 +2913,12 @@ parameters:
2919
2913
count:1
2920
2914
path:src/Tools/SchemaTool.php
2921
2915
2916
+
-
2917
+
message:'#^Method Doctrine\\ORM\\Tools\\SchemaTool\:\:getAssetName\(\) has parameter \$asset with generic class Doctrine\\DBAL\\Schema\\AbstractAsset but does not specify its types\: N$#'
2918
+
identifier:missingType.generics
2919
+
count:1
2920
+
path:src/Tools/SchemaTool.php
2921
+
2922
2922
-
2923
2923
message:'#^Method Doctrine\\ORM\\Tools\\SchemaTool\:\:getCreateSchemaSql\(\) has parameter \$classes with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
0 commit comments