From dace23a333bc094c689e81aad979c841b7bb340a Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:36:13 -0600 Subject: [PATCH 01/15] Update license year to 2026 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 5b8acbe..4278bd5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 - 2025 PhpCfdi https://www.phpcfdi.com/ +Copyright (c) 2019 - 2026 PhpCfdi https://www.phpcfdi.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 736f1d0af08c44aea1d7c423c77f1ab90f940a1b Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:38:05 -0600 Subject: [PATCH 02/15] Fix PHPStan issue on `preg_grep` PHPStan does not recognize that on the call to preg_grep the input is an array os strings then the output must b an array od strings. --- src/Signers/CreateKeyInfoElementTrait.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Signers/CreateKeyInfoElementTrait.php b/src/Signers/CreateKeyInfoElementTrait.php index 156f648..9b681f5 100644 --- a/src/Signers/CreateKeyInfoElementTrait.php +++ b/src/Signers/CreateKeyInfoElementTrait.php @@ -27,7 +27,9 @@ protected function createKeyInfoElement( ); $x509Data->appendChild($x509IssuerSerial); - $certificateContents = implode('', preg_grep('/^((?!-).)*$/', explode(PHP_EOL, $pemContents)) ?: []); + /** @phpstan-var string[] $certificateContentLines explode returns string[] grep_grep return string[]|false */ + $certificateContentLines = preg_grep('/^((?!-).)*$/', explode(PHP_EOL, $pemContents)) ?: []; + $certificateContents = implode('', $certificateContentLines); $x509Data->appendChild( $document->createElement('X509Certificate', htmlspecialchars($certificateContents, ENT_XML1)) ); From 24362534280e86160d501938aef89509b717211d Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:38:27 -0600 Subject: [PATCH 03/15] Add PHP 8.5 to test matrix --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbeac7e..f0d30c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - php-version: ['8.1', '8.2', '8.3', '8.4'] + php-version: ['8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout uses: actions/checkout@v4 From 63ead8fed095b09cf2ff7a3ca41980236c1feefc Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:39:16 -0600 Subject: [PATCH 04/15] Ignore errors when call XMLSecEnc::staticLocateKeyInfo for compat with PHP8.5 --- docs/TODO.md | 4 ++++ .../SignerImplementations/SignerImplementationTestCase.php | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/TODO.md b/docs/TODO.md index 6e1e19d..f87c2cc 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -7,6 +7,10 @@ - Mejorar los casos de cobertura de código para hacer mandatorio `infection` en los pasos de construcción. +- La librería `robrichards/xmlseclibs` a la fecha 2026-04-01 no es compatible con PHP 8.5. + Se debe remover el operador de ignorar errores en el archivo `SignerImplementationTestCase` + al llamar a la función estática `XMLSecEnc::staticLocateKeyInfo()`. + ## Resueltas - Generar excepciones internas en lugar de excepciones genéricas de SPL. diff --git a/tests/System/SignerImplementations/SignerImplementationTestCase.php b/tests/System/SignerImplementations/SignerImplementationTestCase.php index 454baf9..5c75eef 100644 --- a/tests/System/SignerImplementations/SignerImplementationTestCase.php +++ b/tests/System/SignerImplementations/SignerImplementationTestCase.php @@ -125,7 +125,9 @@ public function checkSignatureIsValidUsingXmlSecLib(string $signedXml): void } // must call, otherwise verify will not have the public key to check signature - $this->assertNotNull(XMLSecEnc::staticLocateKeyInfo($objKey, $signature), 'Cannot extract RSAKeyValue'); + // remove silence operator when robrichards/xmlseclibs is compatible with PHP 8.5 + $expectedRsaKeyValue = @XMLSecEnc::staticLocateKeyInfo($objKey, $signature); + $this->assertNotNull($expectedRsaKeyValue, 'Cannot extract RSAKeyValue'); $this->assertSame(1, $dSig->verify($objKey), 'Xml Signature verify fail'); } From 091f1cf7bf2ae0c22ed34fbc6e0a35ab4c3328fc Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:40:02 -0600 Subject: [PATCH 05/15] When running PHPUnit display details and fail on all issues --- phpunit.xml.dist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3625253..e142713 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -3,6 +3,8 @@ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" cacheDirectory="build/phpunit.cache" bootstrap="tests/bootstrap.php" + displayDetailsOnAllIssues="true" + failOnAllIssues="true" colors="true" > From f8bc8388ff08de4f700314300ef1e23e2091539c Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:43:53 -0600 Subject: [PATCH 06/15] Run jobs using PHP 8.5 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/sonarqube-cloud.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0d30c9..5902a0b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: none tools: cs2pr, phpcs env: @@ -39,7 +39,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.5' coverage: none tools: cs2pr, php-cs-fixer env: @@ -56,7 +56,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: none tools: composer:v2, phpstan env: @@ -115,7 +115,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: xdebug tools: composer:v2, infection - name: Get composer cache directory diff --git a/.github/workflows/sonarqube-cloud.yml b/.github/workflows/sonarqube-cloud.yml index 50e01b2..b37c648 100644 --- a/.github/workflows/sonarqube-cloud.yml +++ b/.github/workflows/sonarqube-cloud.yml @@ -27,7 +27,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' coverage: xdebug tools: composer:v2 - name: Get composer cache directory From 280c88b0434e460e9f84cd6668a615dcefeb7efd Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:44:12 -0600 Subject: [PATCH 07/15] Rename job "tests" to "phpunit" --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5902a0b..851df20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,7 @@ jobs: - name: PHPStan run: phpstan analyse --no-progress --verbose - tests: + phpunit: name: Tests on PHP ${{ matrix.php-version }} runs-on: "ubuntu-latest" strategy: From bd0ccf3a4629ed55aee22d4ecd9fbcd2961d07c5 Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:44:41 -0600 Subject: [PATCH 08/15] Update GitHub actions versions --- .github/workflows/build.yml | 10 +++++----- .github/workflows/sonarqube-cloud.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 851df20..e16f3b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -35,7 +35,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -52,7 +52,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -83,7 +83,7 @@ jobs: php-version: ['8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -111,7 +111,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/sonarqube-cloud.yml b/.github/workflows/sonarqube-cloud.yml index b37c648..fadb622 100644 --- a/.github/workflows/sonarqube-cloud.yml +++ b/.github/workflows/sonarqube-cloud.yml @@ -21,7 +21,7 @@ jobs: exit 1 fi - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Unshallow clone to provide blame information run: git fetch --unshallow - name: Setup PHP From f4e5e328a64d3e59d84f18e243d6172516f3aae0 Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:45:59 -0600 Subject: [PATCH 09/15] Update date about unability to include KeyValue --- docs/XmlSecLibs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/XmlSecLibs.md b/docs/XmlSecLibs.md index c5f23d7..29a85bb 100644 --- a/docs/XmlSecLibs.md +++ b/docs/XmlSecLibs.md @@ -2,8 +2,8 @@ A partir de la versión `1.0.0` se incluye un objeto `XmlSecLibsSigner` que implementa `SignerInterface`. -Se puede utilizar [`robrichards/xmlseclibs`](https://github.com/robrichards/xmlseclibs) para hacer el firmado, -sin embargo al 2019-04-09 aún no se han implementado los mecanismos para incluir el elemento `KeyValue`, +Se puede utilizar [`robrichards/xmlseclibs`](https://github.com/robrichards/xmlseclibs) para hacer el firmado; +sin embargo, al 2026-04-01 aún no se han implementado los mecanismos para incluir el elemento `KeyValue`, a pesar de tener un [PR #75](https://github.com/robrichards/xmlseclibs/pull/75) desde 2015-09-03 y un [ISSUE #217](https://github.com/robrichards/xmlseclibs/issues/217). @@ -29,7 +29,7 @@ $cancellation = $xmlhelper->signCancellation('11111111-2222-3333-4444-0000000000 ## Instalación -Recuerda que `robrichards/xmlseclibs` no es una dependencia (es una recomendación) de `phpcfdi/xml-cancelacion` +Recuerda que `robrichards/xmlseclibs` no es una dependencia (es una recomendación) de `phpcfdi/xml-cancelacion`. ```shell script # instalar esta librería From b5fe17e70107c1174dda2ac335839342c06e525e Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:46:09 -0600 Subject: [PATCH 10/15] Update development tools --- .phive/phars.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index ce8b9cb..4d65730 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,8 +1,8 @@ - - - - - + + + + + From c28e52aa86038904bf029a2136d9e48376eddd5a Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Wed, 1 Apr 2026 23:56:45 -0600 Subject: [PATCH 11/15] Update SonarSource/sonarqube-scan-action to version 7 --- .github/workflows/sonarqube-cloud.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarqube-cloud.yml b/.github/workflows/sonarqube-cloud.yml index fadb622..bc2e122 100644 --- a/.github/workflows/sonarqube-cloud.yml +++ b/.github/workflows/sonarqube-cloud.yml @@ -6,7 +6,7 @@ on: # Actions # shivammathur/setup-php@v2 https://github.com/marketplace/actions/setup-php-action -# SonarSource/sonarqube-scan-action@v6 https://github.com/marketplace/actions/official-sonarqube-scan +# SonarSource/sonarqube-scan-action@v7 https://github.com/marketplace/actions/official-sonarqube-scan jobs: @@ -48,6 +48,6 @@ jobs: sed 's#'$GITHUB_WORKSPACE'#/github/workspace#g' build/coverage/junit.xml > build/sonar-junit.xml sed 's#'$GITHUB_WORKSPACE'#/github/workspace#g' build/coverage/clover.xml > build/sonar-coverage.xml - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@v6 + uses: SonarSource/sonarqube-scan-action@v7 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 56f4d4418300fb14458677419f0229bf63f27b7f Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Thu, 2 Apr 2026 00:05:42 -0600 Subject: [PATCH 12/15] Add composer-normalize to development tools --- .github/workflows/build.yml | 17 +++++++++++++++++ .phive/phars.xml | 1 + composer.json | 6 ++++-- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e16f3b8..22a16c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,23 @@ on: jobs: + composer-normalize: + name: Composer normalization + runs-on: "ubuntu-latest" + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.5' + coverage: none + tools: composer-normalize + env: + fail-fast: true + - name: Composer normalize + run: composer-normalize --dry-run + phpcs: name: Code style (phpcs) runs-on: "ubuntu-latest" diff --git a/.phive/phars.xml b/.phive/phars.xml index 4d65730..e1e017c 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,6 @@ + diff --git a/composer.json b/composer.json index 5c80385..d96d10d 100644 --- a/composer.json +++ b/composer.json @@ -48,10 +48,12 @@ "scripts": { "dev:build": ["@dev:fix-style", "@dev:test"], "dev:check-style": [ + "@php tools/composer-normalize normalize --dry-run", "@php tools/php-cs-fixer fix --dry-run --verbose", "@php tools/phpcs --colors -sp" ], "dev:fix-style": [ + "@php tools/composer-normalize normalize", "@php tools/php-cs-fixer fix --verbose", "@php tools/phpcbf --colors -sp" ], @@ -67,8 +69,8 @@ }, "scripts-descriptions": { "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", "dev:test": "DEV: run dev:check-style, phpunit, phpstan and infection", "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" } From f1c841d4f6e2f8038ac8939006a705803f8f80b6 Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Thu, 2 Apr 2026 00:07:45 -0600 Subject: [PATCH 13/15] Normalize composer.json --- composer.json | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index d96d10d..d0ef9c5 100644 --- a/composer.json +++ b/composer.json @@ -1,25 +1,25 @@ { "name": "phpcfdi/xml-cancelacion", "description": "Genera documentos de cancelación de CFDI firmados (XMLSEC)", - "keywords": ["phpcfdi", "sat", "cfdi", "Cancelacion", "PeticionConsultaRelacionados", "SolicitudAceptacionRechazo"], - "homepage": "https://github.com/phpcfdi/xml-cancelacion", "license": "MIT", + "keywords": [ + "phpcfdi", + "sat", + "cfdi", + "Cancelacion", + "PeticionConsultaRelacionados", + "SolicitudAceptacionRechazo" + ], "authors": [ { "name": "Carlos C Soto", "email": "eclipxe13@gmail.com" } ], + "homepage": "https://github.com/phpcfdi/xml-cancelacion", "support": { - "source": "https://github.com/phpcfdi/xml-cancelacion", - "issues": "https://github.com/phpcfdi/xml-cancelacion/issues" - }, - "prefer-stable": true, - "config": { - "optimize-autoloader": true, - "preferred-install": { - "*": "dist" - } + "issues": "https://github.com/phpcfdi/xml-cancelacion/issues", + "source": "https://github.com/phpcfdi/xml-cancelacion" }, "require": { "php": "^8.1", @@ -29,12 +29,13 @@ "phpcfdi/credentials": "^1.1.1" }, "require-dev": { - "robrichards/xmlseclibs": "^3.1.0", - "phpunit/phpunit": "^10.5.46" + "phpunit/phpunit": "^10.5.46", + "robrichards/xmlseclibs": "^3.1.0" }, "suggest": { "robrichards/xmlseclibs": "Create document signatures (partially) using xmlseclibs" }, + "prefer-stable": true, "autoload": { "psr-4": { "PhpCfdi\\XmlCancelacion\\": "src/" @@ -45,13 +46,25 @@ "PhpCfdi\\XmlCancelacion\\Tests\\": "tests/" } }, + "config": { + "optimize-autoloader": true, + "preferred-install": { + "*": "dist" + } + }, "scripts": { - "dev:build": ["@dev:fix-style", "@dev:test"], + "dev:build": [ + "@dev:fix-style", + "@dev:test" + ], "dev:check-style": [ "@php tools/composer-normalize normalize --dry-run", "@php tools/php-cs-fixer fix --dry-run --verbose", "@php tools/phpcs --colors -sp" ], + "dev:coverage": [ + "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" + ], "dev:fix-style": [ "@php tools/composer-normalize normalize", "@php tools/php-cs-fixer fix --verbose", @@ -62,16 +75,13 @@ "@php vendor/bin/phpunit --testdox --display-all-issues --stop-on-failure", "@php tools/phpstan analyse --no-progress", "@php tools/infection --no-progress --no-interaction --show-mutations" - ], - "dev:coverage": [ - "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" ] }, "scripts-descriptions": { "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", - "dev:test": "DEV: run dev:check-style, phpunit, phpstan and infection", - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" + "dev:test": "DEV: run dev:check-style, phpunit, phpstan and infection" } } From 60a6417cd0a894ac01b6ea6dff7ea32c37339962 Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Thu, 2 Apr 2026 00:07:54 -0600 Subject: [PATCH 14/15] Prepare version 2.0.6 --- docs/CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index ace6edb..7853aa5 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -9,6 +9,24 @@ Usamos [Versionado Semántico 2.0.0](SEMVER.md) por lo que puedes usar esta libr Pueden aparecer cambios no liberados que se integran a la rama principal, pero no ameritan una nueva liberación de versión, aunque sí su incorporación en la rama principal de trabajo. Generalmente, se tratan de cambios en el desarrollo. +### Versión 2.0.6 2026-04-01 + +- Se corrige la revisión del proyecto dado que *PHPStan* asume que la función `preg_grep` siempre retorna + un arreglo sin tipo, cuando debería limitarse solamente a las opciones que recibe. +- En las pruebas, se silencia la llamada a `XMLSecEnc::staticLocateKeyInfo` dado que tiene un + problema de compatibilidad con PHP 8.5. +- Se normaliza el archivo `composer.json`. +- Se configura *PHPUnit* para que falle y muestre los detalles en todos los problemas encontrados. +- Se agrega la herramienta `composer-normalize` a las herramientas de desarrollo. +- Se actualizan los flujos de trabajo de GitHub: + - Se agrega el trabajo `composer-normalize`. + - Se renombra el trabajo `tests` a `phpunit`. + - Se agrega PHP 8.5 a la matriz de prebas en el trabajo `phpunit`. + - Los trabajos se ejecutan en PHP 8.5. + - Se actualizan las versiones de las acciones de GitHub. +- Se actualiza `sonarqube-scan-action` a la versión 7. +- Se actualizan las herramientas de desarrollo. + ### Mantenimiento 2025-09-27 - Se corrige una prueba donde se estaba escribiendo el archivo esperado antes de su comparación. From e91c8d856f1303d6d9f3f9eae7a1d03a1d79820e Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Thu, 2 Apr 2026 00:16:15 -0600 Subject: [PATCH 15/15] Run infection job using PHP 8.5 --- .github/workflows/build.yml | 2 +- docs/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22a16c9..bea1bba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -132,7 +132,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.5' + php-version: '8.4' coverage: xdebug tools: composer:v2, infection - name: Get composer cache directory diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7853aa5..dc94a53 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -22,7 +22,7 @@ aunque sí su incorporación en la rama principal de trabajo. Generalmente, se t - Se agrega el trabajo `composer-normalize`. - Se renombra el trabajo `tests` a `phpunit`. - Se agrega PHP 8.5 a la matriz de prebas en el trabajo `phpunit`. - - Los trabajos se ejecutan en PHP 8.5. + - Los trabajos se ejecutan en PHP 8.5 excepto el trabajo `infection`. - Se actualizan las versiones de las acciones de GitHub. - Se actualiza `sonarqube-scan-action` a la versión 7. - Se actualizan las herramientas de desarrollo.