Update return type of spl_autoload_functions
on PHP8.0+
#17897
static-analysis.yml
on: pull_request
Generate baseline
1m 22s
Generate PHP baseline
1m 23s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
88 errors
Generate baseline
Process completed with exit code 1.
|
Generate PHP baseline:
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
Generate PHP baseline:
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
Generate PHP baseline
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan (8.3, ubuntu-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.3, ubuntu-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.3, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan (8.4, ubuntu-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.4, ubuntu-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.4, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.1):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan with result cache (8.1):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.1):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.1):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan with result cache (8.1):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan with result cache (8.1)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan with result cache (8.3):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.3):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.3):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan with result cache (8.3):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan with result cache (8.2):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan with result cache (8.2):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.2):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.2):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan with result cache (8.2):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan with result cache (8.4):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan with result cache (8.4):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.4):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan with result cache (8.4):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan with result cache (8.4):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan (8.1, ubuntu-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.1, ubuntu-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.1, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan (8.2, ubuntu-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.2, ubuntu-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.2, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
PHPStan (8.0, ubuntu-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.0, ubuntu-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, windows-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php was not matched in reported errors.
|
PHPStan (8.4, windows-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.4, windows-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.4, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.4, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php was not matched in reported errors.
|
PHPStan (8.1, windows-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.1, windows-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.1, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.1, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php was not matched in reported errors.
|
PHPStan (8.3, windows-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.3, windows-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.3, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.3, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php was not matched in reported errors.
|
PHPStan (8.2, windows-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.2, windows-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.2, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.2, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type array\<callable\>\|false is not subtype of native type array\.$# in path D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php was not matched in reported errors.
|
PHPStan (8.0, windows-latest):
src/Command/CommandHelper.php#L168
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.0, windows-latest):
src/Command/CommandHelper.php#L463
PHPDoc tag @var with type array<callable(): mixed>|false is not subtype of native type list<callable(string): void>.
|
PHPStan (8.0, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array and false will always evaluate to false\.$# in path D:\a\phpstan-src\phpstan-src\src\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator.php was not matched in reported errors.
|
PHPStan (8.0, windows-latest):
src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php#L338
Strict comparison using === between list<callable(string): void> and false will always evaluate to false.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|