Skip to content

[Bard] Adding ability to compile into a phar file (#229) #426

[Bard] Adding ability to compile into a phar file (#229)

[Bard] Adding ability to compile into a phar file (#229) #426

Triggered via push October 3, 2024 16:19
Status Failure
Total duration 1m 17s
Artifacts
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
UnusedClass: src/SonsOfPHP/Bard/src/Compiler.php#L12
src/SonsOfPHP/Bard/src/Compiler.php:12:13: UnusedClass: Class SonsOfPHP\Bard\Compiler is never used (see https://psalm.dev/075)
UnnecessaryVarAnnotation: src/SonsOfPHP/Bard/src/Compiler.php#L35
src/SonsOfPHP/Bard/src/Compiler.php:35:18: UnnecessaryVarAnnotation: The @var Symfony\Component\Finder\SplFileInfo annotation for $file is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/SonsOfPHP/Bard/src/Compiler.php#L56
src/SonsOfPHP/Bard/src/Compiler.php:56:18: UnnecessaryVarAnnotation: The @var Symfony\Component\Finder\SplFileInfo annotation for $file is unnecessary (see https://psalm.dev/212)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/PushCommand.php#L53
src/SonsOfPHP/Bard/src/Console/Command/PushCommand.php:53:61: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::formatSection does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/PushCommand.php#L64
src/SonsOfPHP/Bard/src/Console/Command/PushCommand.php:64:61: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::formatSection does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php#L197
src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php:197:61: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::formatSection does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php#L216
src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php:216:61: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::formatSection does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php#L244
src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php:244:61: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::formatSection does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php#L276
src/SonsOfPHP/Bard/src/Console/Command/ReleaseCommand.php:276:46: UndefinedInterfaceMethod: Method Symfony\Component\Console\Helper\HelperInterface::mustRun does not exist (see https://psalm.dev/181)
PossiblyUnusedMethod: src/SonsOfPHP/Bard/src/Worker/File/Composer/Root/ClearSection.php#L17
src/SonsOfPHP/Bard/src/Worker/File/Composer/Root/ClearSection.php:17:21: PossiblyUnusedMethod: Cannot find explicit calls to method SonsOfPHP\Bard\Worker\File\Composer\Root\ClearSection::apply (but did find some potential callers) (see https://psalm.dev/087)
Psalm (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/