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
+5-55Lines changed: 5 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -110,16 +110,6 @@ parameters:
110
110
count:1
111
111
path:src/Mapping/Event/Adapter/ORM.php
112
112
113
-
-
114
-
message:"#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$isMappedSuperclass\\.$#"
115
-
count:1
116
-
path:src/Mapping/ExtensionMetadataFactory.php
117
-
118
-
-
119
-
message:"#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$reflClass\\.$#"
120
-
count:1
121
-
path:src/Mapping/ExtensionMetadataFactory.php
122
-
123
113
-
124
114
message:"#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\Driver\\\\MappingDriver\\:\\:getDefaultDriver\\(\\)\\.$#"
125
115
count:2
@@ -211,17 +201,17 @@ parameters:
211
201
path:src/References/Mapping/Event/Adapter/ORM.php
212
202
213
203
-
214
-
message:"#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getReference\\(\\)\\.$#"
204
+
message:"#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getUnitOfWork\\(\\)\\.$#"
215
205
count:1
216
206
path:src/References/Mapping/Event/Adapter/ORM.php
217
207
218
208
-
219
-
message:"#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getUnitOfWork\\(\\)\\.$#"
220
-
count:1
209
+
message:"#^Call to method getClassMetadata\\(\\) on an unknown class Doctrine\\\\ODM\\\\PHPCR\\\\DocumentManager\\.$#"
210
+
count:2
221
211
path:src/References/Mapping/Event/Adapter/ORM.php
222
212
223
213
-
224
-
message:"#^Call to method getClassMetadata\\(\\) on an unknown class Doctrine\\\\ODM\\\\PHPCR\\\\DocumentManager\\.$#"
214
+
message:"#^Call to method getReference\\(\\) on an unknown class Doctrine\\\\ODM\\\\PHPCR\\\\DocumentManager\\.$#"
225
215
count:1
226
216
path:src/References/Mapping/Event/Adapter/ORM.php
227
217
@@ -230,11 +220,6 @@ parameters:
230
220
count:2
231
221
path:src/References/Mapping/Event/Adapter/ORM.php
232
222
233
-
-
234
-
message:"#^Parameter \\$dm of method Gedmo\\\\References\\\\Mapping\\\\Event\\\\Adapter\\\\ORM\\:\\:throwIfNotDocumentManager\\(\\) has invalid type Doctrine\\\\ODM\\\\PHPCR\\\\DocumentManager\\.$#"
235
-
count:1
236
-
path:src/References/Mapping/Event/Adapter/ORM.php
237
-
238
223
-
239
224
message:"#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\<object\\>\\:\\:\\$reflClass\\.$#"
message:"#^Strict comparison using \\=\\=\\= between null and Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform will always evaluate to false\\.$#"
700
-
count:1
701
-
path:tests/Gedmo/Tool/BaseTestCaseORM.php
702
-
703
653
-
704
654
message:"#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Gedmo\\\\\\\\Translatable\\\\\\\\Document\\\\\\\\Repository\\\\\\\\TranslationRepository' and Doctrine\\\\ORM\\\\EntityRepository\\<Gedmo\\\\Translatable\\\\Document\\\\Translation\\> will always evaluate to false\\.$#"
Copy file name to clipboardExpand all lines: src/Sortable/Entity/Repository/SortableRepository.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ public function getBySortableGroupsQueryBuilder(array $groupValues = [])
83
83
}
84
84
unset($groups[$name]);
85
85
}
86
-
if (count($groups) > 0) {
86
+
if ([] !== $groups) {
87
87
thrownew \InvalidArgumentException('You need to specify values for the following groups to select by sortable groups: '.implode(', ', array_keys($groups)));
0 commit comments