Skip to content

build

build #198

Triggered via schedule October 12, 2025 16:20
Status Failure
Total duration 22s
Artifacts

build.yml

on: schedule
Composer normalization
16s
Composer normalization
Code style (phpcs)
12s
Code style (phpcs)
Code style (php-cs-fixer)
13s
Code style (php-cs-fixer)
Code analysis (phpstan)
13s
Code analysis (phpstan)
Code analysis (psalm)
18s
Code analysis (psalm)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 3 warnings
Code style (phpcs)
Process completed with exit code 2.
Code analysis (phpstan)
Process completed with exit code 1.
Code analysis (phpstan): tests/bootstrap.php#L40
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Code analysis (phpstan): tests/bootstrap.php#L31
PHPDoc tag `@var` with type callable(): void is not subtype of native type Closure(): void.
Code analysis (phpstan): src/NsRegistry/Locations.php#L41
Method PhpCfdi\ResourcesSatXmlGenerator\NsRegistry\Locations::getIterator() should return Traversable<int, string> but returns ArrayIterator<int|string, string>.
Code analysis (phpstan): src/Downloader.php#L61
Offset 0 on non-empty-list<string> in isset() always exists and is not nullable.
MissingOverrideAttribute: src/CLI/OutputObserver.php#L22
src/CLI/OutputObserver.php:22:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\OutputObserver::ondownload should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/OutputObserver.php#L17
src/CLI/OutputObserver.php:17:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\OutputObserver::onfetch should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchSatCommand.php#L43
src/CLI/FetchSatCommand.php:43:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchSatCommand::execute should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchSatCommand.php#L28
src/CLI/FetchSatCommand.php:28:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchSatCommand::configure should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchSatCommand.php#L22
src/CLI/FetchSatCommand.php:22:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchSatCommand::getdefaultname should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchCommand.php#L38
src/CLI/FetchCommand.php:38:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchCommand::execute should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchCommand.php#L25
src/CLI/FetchCommand.php:25:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchCommand::configure should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/CLI/FetchCommand.php#L19
src/CLI/FetchCommand.php:19:5: MissingOverrideAttribute: Method PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchCommand::getdefaultname should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/CLI/Application.php#L9
src/CLI/Application.php:9:7: ClassMustBeFinal: Class PhpCfdi\ResourcesSatXmlGenerator\CLI\Application is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/CLI/Application.php#L9
src/CLI/Application.php:9:7: UnusedClass: Class PhpCfdi\ResourcesSatXmlGenerator\CLI\Application is never used (see https://psalm.dev/075)
Code analysis (phpstan)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code analysis (psalm)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests on PHP 8.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/