Skip to content

build

build #216

Triggered via schedule December 29, 2024 16:07
Status Failure
Total duration 2m 2s
Artifacts

build.yml

on: schedule
Composer normalization
10s
Composer normalization
Code Style (phpcs)
9s
Code Style (phpcs)
Code style (php-cs-fixer)
14s
Code style (php-cs-fixer)
Code analysis (phpstan)
26s
Code analysis (phpstan)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Code analysis (phpstan): src/AbstractCollection.php#L92
Method PhpCfdi\SatCatalogosPopulate\AbstractCollection::count() should return int<0, max> but returns int.
Code analysis (phpstan): src/Commands/CliApplication.php#L118
PHPDoc tag @var with type callable(): mixed is not subtype of native type non-falsy-string.
Code analysis (phpstan): src/Database/AbstractDataField.php#L18
Cannot cast mixed to string.
Code analysis (phpstan): src/Database/DataFields.php#L28
Instanceof between PhpCfdi\SatCatalogosPopulate\Database\DataFieldInterface and PhpCfdi\SatCatalogosPopulate\Database\DataFieldInterface will always evaluate to true.
Code analysis (phpstan): src/Database/DateDataField.php#L22
Parameter #2 $datetime of static method DateTime::createFromFormat() expects string, mixed given.
Code analysis (phpstan): src/Database/DateDataField.php#L29
Part $input (mixed) of encapsed string cannot be cast to string.
Code analysis (phpstan): src/Database/FloatDataField.php#L16
Cannot cast mixed to float.
Code analysis (phpstan): src/Database/IntegerDataField.php#L16
Cannot cast mixed to int.
Code analysis (phpstan): src/Database/NumberFormatDataField.php#L15
Parameter #1 $value of function floatval expects array|bool|float|int|resource|string|null, mixed given.
Code analysis (phpstan): src/Database/PaddingDataField.php#L11
Cannot cast mixed to string.
Code Style (phpcs)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Composer normalization
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (php-cs-fixer)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code analysis (phpstan)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636