Skip to content

build

build #209

Triggered via schedule December 15, 2024 16:26
Status Failure
Total duration 31s
Artifacts

build.yml

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

Annotations

10 errors and 9 warnings
Code analysis (phpstan): src/PackageReader/Internal/CsvReader.php#L68
Parameter #1 $keys of method PhpCfdi\SatWsDescargaMasiva\PackageReader\Internal\CsvReader::combine() expects array<string>, array<mixed> given.
Code analysis (phpstan): src/PackageReader/Internal/CsvReader.php#L68
Parameter #2 $values of method PhpCfdi\SatWsDescargaMasiva\PackageReader\Internal\CsvReader::combine() expects array<string>, array<mixed, mixed> given.
Code analysis (phpstan): src/PackageReader/Internal/MetadataContent.php#L64
Parameter #1 $data of method PhpCfdi\SatWsDescargaMasiva\PackageReader\Internal\MetadataContent::changeArrayKeysFirstLetterLowerCase() expects array<string, string>, array<string> given.
Code analysis (phpstan): src/Services/Query/QueryParameters.php#L28
Property PhpCfdi\SatWsDescargaMasiva\Services\Query\QueryParameters::$serviceType (PhpCfdi\SatWsDescargaMasiva\Shared\ServiceType|null) is never assigned PhpCfdi\SatWsDescargaMasiva\Shared\ServiceType so it can be removed from the property type.
Code analysis (phpstan): src/Services/Query/QueryParameters.php#L93
Parameter #2 $end of static method PhpCfdi\SatWsDescargaMasiva\Shared\DateTimePeriod::createFromValues() expects DateTimeImmutable|int|string|null, mixed given.
Code analysis (phpstan): src/Shared/RfcMatches.php#L63
Method PhpCfdi\SatWsDescargaMasiva\Shared\RfcMatches::count() should return int<0, max> but returns int.
Code analysis (phpstan): tests/Unit/Shared/DateTimeTest.php#L73
PHPDoc tag @var with type int is not subtype of native type array{}.
Code analysis (phpstan): tests/Unit/Shared/RfcMatchesTest.php#L68
Parameter #5 ...$values of static method PhpCfdi\SatWsDescargaMasiva\Shared\RfcMatches::createFromValues() expects string, mixed given.
Code analysis (phpstan): tests/Unit/Shared/RfcMatchesTest.php#L69
Parameter #6 ...$values of static method PhpCfdi\SatWsDescargaMasiva\Shared\RfcMatches::createFromValues() expects string, mixed given.
Code analysis (phpstan): tests/Unit/Shared/RfcMatchesTest.php#L70
Parameter #7 ...$values of static method PhpCfdi\SatWsDescargaMasiva\Shared\RfcMatches::createFromValues() expects string, mixed given.
Code style (phpcs)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.3
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.1
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 7.4
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.0
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