Implement TypeSpecifierContext->getReturnType() #20225
static-analysis.yml
on: pull_request
Generate baseline
1m 35s
Generate PHP baseline
1m 31s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
161 errors
PHPStan with result cache (8.2):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.2):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.2):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan with result cache (8.2):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan with result cache (8.2):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan with result cache (8.3):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.3):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.3):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan with result cache (8.3):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan with result cache (8.3):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan with result cache (8.4):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.4):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.4):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan with result cache (8.4):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan with result cache (8.4):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
Generate baseline
Process completed with exit code 1.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan with result cache (8.1):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan with result cache (8.1):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan with result cache (8.1):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan with result cache (8.1):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L468
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L837
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L839
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L926
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L949
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L959
Unreachable statement - code above always terminates.
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1929
Result of && is always false.
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1929
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1934
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.1, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.1, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.1, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.1, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.4, windows-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.3, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.3, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.3, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.3, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.2, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.2, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.2, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.2, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (8.0, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.0, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
PHPStan (8.0, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (8.0, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/Analyser/TypeSpecifier.php#L468
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L837
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L839
Strict comparison using !== between non-empty-string and null will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L926
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L949
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Strict comparison using !== between class-string and null will always evaluate to true.
|
PHPStan (7.4, windows-latest):
src/PhpDoc/TypeNodeResolver.php#L959
Unreachable statement - code above always terminates.
|
PHPStan (7.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1929
Result of && is always false.
|
PHPStan (7.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1929
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
|
PHPStan (7.4, windows-latest):
src/Reflection/InitializerExprTypeResolver.php#L1934
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
|