Implement TypeSpecifierContext->getReturnType() #20248
static-analysis.yml
on: pull_request
Generate baseline
1m 25s
Generate PHP baseline
1m 28s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
79 errors
Generate baseline
Process completed with exit code 1.
|
PHPStan with result cache (8.4):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan with result cache (8.4):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan with result cache (8.4):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan with result cache (8.4):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan with result cache (8.1):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan with result cache (8.1):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan with result cache (8.1):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.4, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan with result cache (8.1):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan with result cache (8.1)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan with result cache (8.3):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan with result cache (8.3):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan with result cache (8.3):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.3, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.2, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.1, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan with result cache (8.2):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan with result cache (8.2):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan with result cache (8.2):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.0, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L592
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L607
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (7.4, ubuntu-latest):
src/Type/Regex/RegexGroupParser.php#L616
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (8.3, windows-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.3, windows-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.3, windows-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.3, windows-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (8.4, windows-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.4, windows-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.4, windows-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.4, windows-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (8.2, windows-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.2, windows-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.2, windows-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.2, windows-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.2, windows-latest)
The operation was canceled.
|
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (8.1, windows-latest):
src/File/FileHelper.php#L68
Parameter #1 $subject of static method Nette\Utils\Strings::match() expects string, string|non-falsy-string given.
|
PHPStan (8.1, windows-latest):
src/Type/Regex/RegexGroupParser.php#L619
Parameter #1 $string of function substr expects string, non-falsy-string given.
|
PHPStan (8.1, windows-latest):
src/Type/Regex/RegexGroupParser.php#L634
Parameter &$onlyLiterals by-ref type of method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() expects array<string>|null, array<int, string|non-falsy-string> given.
|
PHPStan (8.1, windows-latest):
src/Type/Regex/RegexGroupParser.php#L643
Method PHPStan\Type\Regex\RegexGroupParser::getLiteralValue() should return string|null but returns string|non-falsy-string.
|
PHPStan (8.1, windows-latest)
The operation was canceled.
|
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (8.0, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-testwith' exists
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|