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: tests/PHPStan/Rules/Generics/FunctionTemplateTypeRuleTest.php
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -56,10 +56,6 @@ public function testRule(): void
56
56
'PHPDoc tag @template T for function FunctionTemplateType\resourceBound() with bound type resource is not supported.',
57
57
50,
58
58
],
59
-
[
60
-
'PHPDoc tag @template T for function FunctionTemplateType\nullNotSupported() with bound type null is not supported.',
61
-
68,
62
-
],
63
59
[
64
60
'Call-site variance of covariant int in generic type FunctionTemplateType\GenericCovariant<covariant int> in PHPDoc tag @template U is redundant, template type T of class FunctionTemplateType\GenericCovariant has the same variance.',
Copy file name to clipboardExpand all lines: tests/PHPStan/Rules/PhpDoc/IncompatiblePhpDocTypeRuleTest.php
-16Lines changed: 0 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -320,10 +320,6 @@ public function testGenericCallables(): void
320
320
'PHPDoc tag @param for parameter $invalidBoundType template T of Closure<T of GenericCallablesIncompatible\Invalid>(T): T has invalid bound type GenericCallablesIncompatible\Invalid.',
321
321
25,
322
322
],
323
-
[
324
-
'PHPDoc tag @param for parameter $notSupported template T of Closure<T of null>(T): T with bound type null is not supported.',
325
-
32,
326
-
],
327
323
[
328
324
'PHPDoc tag @param for parameter $shadows template T of Closure<T of mixed>(T): T shadows @template T for function GenericCallablesIncompatible\testShadowFunction.',
329
325
40,
@@ -360,10 +356,6 @@ public function testGenericCallables(): void
360
356
'PHPDoc tag @return template T of Closure<T of GenericCallablesIncompatible\Invalid>(T): T has invalid bound type GenericCallablesIncompatible\Invalid.',
361
357
90,
362
358
],
363
-
[
364
-
'PHPDoc tag @return template T of Closure<T of null>(T): T with bound type null is not supported.',
365
-
97,
366
-
],
367
359
[
368
360
'PHPDoc tag @return template T of Closure<T of mixed>(T): T shadows @template T for function GenericCallablesIncompatible\testShadowFunctionReturn.',
369
361
105,
@@ -380,10 +372,6 @@ public function testGenericCallables(): void
380
372
'PHPDoc tag @param for parameter $invalidBoundType template T of Closure<T of GenericCallablesIncompatible\Invalid>(T): T has invalid bound type GenericCallablesIncompatible\Invalid.',
381
373
131,
382
374
],
383
-
[
384
-
'PHPDoc tag @param for parameter $notSupported template T of Closure<T of null>(T): T with bound type null is not supported.',
385
-
138,
386
-
],
387
375
[
388
376
'PHPDoc tag @return template of Closure<stdClass of mixed>(stdClass): stdClass cannot have existing class stdClass as its name.',
389
377
145,
@@ -396,10 +384,6 @@ public function testGenericCallables(): void
396
384
'PHPDoc tag @return template T of Closure<T of GenericCallablesIncompatible\Invalid>(T): T has invalid bound type GenericCallablesIncompatible\Invalid.',
397
385
159,
398
386
],
399
-
[
400
-
'PHPDoc tag @return template T of Closure<T of null>(T): T with bound type null is not supported.',
401
-
166,
402
-
],
403
387
[
404
388
'PHPDoc tag @param-out for parameter $existingClass template T of Closure<T of mixed>(T): T shadows @template T for function GenericCallablesIncompatible\shadowsParamOut.',
Copy file name to clipboardExpand all lines: tests/PHPStan/Rules/PhpDoc/IncompatiblePropertyPhpDocTypeRuleTest.php
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -186,10 +186,6 @@ public function testGenericCallables(): void
186
186
'PHPDoc tag @var template of callable<TypeAlias of mixed>(TypeAlias): TypeAlias cannot have existing type alias TypeAlias as its name.',
187
187
26,
188
188
],
189
-
[
190
-
'PHPDoc tag @var template TNull of callable<TNull of null>(TNull): TNull with bound type null is not supported.',
191
-
31,
192
-
],
193
189
[
194
190
'PHPDoc tag @var template TInvalid of callable<TInvalid of GenericCallableProperties\Invalid>(TInvalid): TInvalid has invalid bound type GenericCallableProperties\Invalid.',
0 commit comments