fix: Correct the Composer autoload #708
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
6 errors
PHPStan:
src/Autoload/ComposerFileHasher.php#L48
Method Humbug\PhpScoper\Autoload\ComposerFileHasher::generateHashes() should return array<string> but returns array<string|null>.
|
PHPStan:
src/Autoload/ComposerFileHasher.php#L57
Method Humbug\PhpScoper\Autoload\ComposerFileHasher::generateHash() never returns null so it can be removed from the return type.
|
PHPStan:
tests/Autoload/AutoloadDumperTest.php#L37
Static method KevinGH\Box\Composer\AutoloadDumper::generateAutoloadStatements() invoked with 3 parameters, 2 required.
|
PHPStan:
tests/Autoload/AutoloadDumperTest.php#L39
Parameter #2 $autoloadContents of static method KevinGH\Box\Composer\AutoloadDumper::generateAutoloadStatements() expects string, array given.
|
PHPStan
Process completed with exit code 2.
|
Lint Status
Process completed with exit code 1.
|