Skip to content

build

build #168

Triggered via schedule November 17, 2024 16:15
Status Failure
Total duration 51s
Artifacts

build.yml

on: schedule
Code style (phpcs)
13s
Code style (phpcs)
Code style (php-cs-fixer)
15s
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 8.1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code style (php-cs-fixer)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code analysis (phpstan)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 7.3
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 8.0
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 7.4
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/