Implement TypeSpecifierContext->getReturnType() #20223
static-analysis.yml
on: pull_request
Generate baseline
1m 30s
Generate PHP baseline
1m 31s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
108 errors and 1 warning
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/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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.3):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan with result cache (8.3):
src/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 (8.3, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 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/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 (8.2, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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.
|
Generate baseline
Process completed with exit code 1.
|
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/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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.
|
Generate PHP baseline:
src/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
Generate PHP baseline
Process completed with exit code 2.
|
PHPStan with result cache (8.1):
src/Analyser/TypeSpecifier.php#L458
Call to an undefined method PHPStan\Analyser\Scope::filterBySpecifiedTypes().
|
PHPStan with result cache (8.1):
src/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 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 with result cache (8.1):
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#L945
Strict comparison using !== between class-string and null will always evaluate to true.
|
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 with result cache (8.1):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
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 (8.0, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
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/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 (8.0, ubuntu-latest):
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#L945
Strict comparison using !== between class-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 (8.0, ubuntu-latest):
src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1923
Result of && is always false.
|
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 (8.1, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
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/Analyser/TypeSpecifier.php#L1964
Method PHPStan\Analyser\TypeSpecifier::createSpecifierContextReturnType() should return PHPStan\Analyser\TypeSpecifierContext but return statement is missing.
|
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 (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
|
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (8.0, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (8.4, windows-latest)
The operation was canceled.
|
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (8.3, windows-latest)
The operation was canceled.
|
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (8.2, windows-latest)
The operation was canceled.
|
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for 'sa-context-return-type' exists
|
PHPStan (8.1, windows-latest)
Runner GitHub Actions 90 did not respond to a cancelation request with 00:05:00.
|