Version 0.5.0 - Fix get_contracts and psr/log dependency#35
Merged
eclipxe13 merged 13 commits intophpcfdi:mainfrom Aug 13, 2022
Merged
Version 0.5.0 - Fix get_contracts and psr/log dependency#35eclipxe13 merged 13 commits intophpcfdi:mainfrom
eclipxe13 merged 13 commits intophpcfdi:mainfrom
Conversation
- CancelServicesTest::testCreateCfdiThenGetSatStatusThenCancelSignatureThenGetReceipt - GetRelatedSignatureServiceTest::testConsumeServiceWithRelated - CancelSignatureServiceTest::testCancelSignatureRecentlyCreatedDocument
- Add to development tools - Add to composer dev:check-style and fix-style scripts - Add to GH workflow build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementación del método
get_contracts_sndiSe utiliza el nuevo método
get_contracts_sndien lugar del obsoletoget_contracts.Esto lleva a que la clase
PhpCfdi\Finkok\Services\Manifest\GetContractsCommandahora requiere de$snid.Igualmente,
PhpCfdi\Finkok\QuickFinkok#customerGetContracts()requiere de$snid.Mejorar la dependencia de
PSR-3Ahora se permite compatibilidad del paquete
psr/logcon las versiones^1.1,^2.0o^3.0.Mejorar la dependencia de
symfony/dotenvSe permite la compatibilidad de desarrollo de la librería
symfony/dotenvcon^5.0o^6.0.Saltar las pruebas de integración de cancelación que fallen
A menudo el servicio de pruebas del SAT relacionado con cancelaciones presenta fallas.
Por esto, las pruebas de integración relacionadas con tocar este servicio, en lugar de marcarlas como fallidas se marcarán como brincadas.
PhpCfdi\Finkok\Tests\Integration\Services\Cancel\CancelServicesTest::testCreateCfdiThenGetSatStatusThenCancelSignatureThenGetReceipt().PhpCfdi\Finkok\Tests\Integration\Services\Cancel\GetRelatedSignatureServiceTest::testConsumeServiceWithRelated().PhpCfdi\Finkok\Tests\Integration\Services\Retentions\CancelSignatureServiceTest::testCancelSignatureRecentlyCreatedDocument().Pruebas largas tienen duración definida
Las pruebas largas que reintentan varias veces una tarea ahora tienen un límite de tiempo definido en la variable de entorno
FINKOK_LONGTEST_TIMEOUT. Debe ser un valor entero en segundos, el valor si no existe es 30, mínimo 30 y máximo 600.Búsqueda de RFC libre en pruebas
Se implementa una búsqueda binaria en un espacio consecutivo de RFC para hacer únicamente 16 búsquedas. Anteriormente, se usaba un espacio que podía conducir a muchas más búsquedas y la prueba
PhpCfdi\Finkok\Tests\Integration\Services\Registration\AddServiceTest::testConsumeAddServiceWithRandomRfcno era ejecutada a menos que se permitieran pruebas de larga duración.Normalización de
composer.jsonSe incluye la herramienta
composer-normalizepara revisar y normalizar el archivocomposer.json.