build #205
build.yml
on: schedule
Code style (phpcs)
12s
Code style (php-cs-fixer)
14s
Code analysis (phpstan)
23s
Matrix: tests
Annotations
10 errors
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.
|