Skip to content

build

build #171

Triggered via schedule December 8, 2024 16:11
Status Failure
Total duration 28s
Artifacts

build.yml

on: schedule
Code style (phpcs)
8s
Code style (phpcs)
Code style (php-cs-fixer)
14s
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 8 warnings
Code analysis (phpstan): src/CFDI/ProductosServicios.php#L20
Class PhpCfdi\SatCatalogos\CFDI\ProductosServicios has PHPDoc tag @method for method obtainByIds() parameter #1 $ids with no value type specified in iterable type array.
Code analysis (phpstan): src/CFDI40/ProductosServicios.php#L20
Class PhpCfdi\SatCatalogos\CFDI40\ProductosServicios has PHPDoc tag @method for method obtainByIds() parameter #1 $ids with no value type specified in iterable type array.
Code analysis (phpstan): src/Repository.php#L263
Binary operation "." between non-falsy-string and mixed results in an error.
Code analysis (phpstan): src/Repository.php#L263
Parameter #1 $name of method PhpCfdi\SatCatalogos\Repository::escapeName() expects string, mixed given.
Code analysis (phpstan): src/Repository.php#L383
Method PhpCfdi\SatCatalogos\Repository::queryRow() should return array<string, bool|float|int|string> but returns array<mixed>.
Code analysis (phpstan): tests/Unit/Common/BaseCatalogTest.php#L31
Call to method PHPUnit\Framework\Assert::assertTrue() with true and 'test must finish…' will always evaluate to true.
Code analysis (phpstan): tests/Unit/RepositoryTest.php#L21
Call to method PHPUnit\Framework\Assert::assertIsArray() with array<string, bool|float|int|string> will always evaluate to true.
Code analysis (phpstan): tests/UseCase/CFDI/ReglasTasaCuotaTest.php#L26
Parameter #1 $impuesto of method PhpCfdi\SatCatalogos\CFDI\ReglasTasaCuota::hasMatchingRule() expects string, mixed given.
Code analysis (phpstan): tests/UseCase/CFDI/ReglasTasaCuotaTest.php#L26
Parameter #2 $factor of method PhpCfdi\SatCatalogos\CFDI\ReglasTasaCuota::hasMatchingRule() expects string, mixed given.
Code analysis (phpstan): tests/UseCase/CFDI/ReglasTasaCuotaTest.php#L26
Parameter #3 $uso of method PhpCfdi\SatCatalogos\CFDI\ReglasTasaCuota::hasMatchingRule() 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
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 7.4
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
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
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.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636