Skip to content

build

build #238

Triggered via schedule March 22, 2026 16:40
Status Failure
Total duration 23s
Artifacts

build.yml

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

Annotations

11 errors and 8 warnings
Code style (phpcs)
Process completed with exit code 2.
Code analysis (phpstan): tests/UseCase/CFDI/ReglasTasaCuotaTest.php#L26
Parameter #3 $uso 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 #1 $impuesto of method PhpCfdi\SatCatalogos\CFDI\ReglasTasaCuota::hasMatchingRule() expects string, mixed given.
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/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): src/Repository.php#L383
Method PhpCfdi\SatCatalogos\Repository::queryRow() should return array<string, bool|float|int|string> but returns array<mixed>.
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#L263
Binary operation "." between non-falsy-string and mixed results in an error.
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/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 style (php-cs-fixer)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests on PHP 8.0
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests on PHP 8.1
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests on PHP 7.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Code style (phpcs)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests on PHP 7.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Tests on PHP 8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Code analysis (phpstan)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/