Replace error-prone instanceof in Rules classes #20097
static-analysis.yml
on: pull_request
Generate baseline
1m 25s
Generate PHP baseline
1m 25s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
49 errors
Generate baseline
Process completed with exit code 1.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.1, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan with result cache (8.2):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.2, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.3, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.1):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan with result cache (8.1):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan with result cache (8.1)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan with result cache (8.3):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.4, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.4):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan with result cache (8.4):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.0, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L121
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (7.4, ubuntu-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.4, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.2, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.1, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.0, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L110
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (8.3, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php#L121
Method PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocator::nodeToReflection() has parameter $fetchedNode with generic class PHPStan\Reflection\BetterReflection\SourceLocator\FetchedNode but does not specify its types: T
|
PHPStan (7.4, windows-latest):
stubs/ext-ds.stub#L23
Method Ds\Collection::copy() return type with generic interface Ds\Collection does not specify its types: TKey, TValue
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|