Skip to content

Version 2.7.0

Compare
Choose a tag to compare
@eclipxe13 eclipxe13 released this 19 Oct 16:53
· 785 commits to master since this release
  • Reintroduce MontoGreaterOrEqualThanSumOfDocuments as PAGO30.
  • Change CfdiUtils\Validate\Cfdi33\RecepcionPagos\Pagos\ValidatePagoException to use status property.
  • Change CfdiUtils\Validate\Cfdi33\RecepcionPagos\Pagos\ValidateDoctoException to extends ValidatePagoException.
  • Honor status from ValidatePagoException or ValidateDoctoException
  • Tests use XmlResolver from CfdiUtilsTests\TestCase instead of creating a new one
  • Fix docblock CfdiUtils\Nodes\Nodes::searchNodes
  • Improve docblocks on CfdiUtils\Certificado\Certificado
  • Documentation:
    • Create docs/problemas/contradicciones-pagos.md
    • Create docs/problemas/descarga-certificados.md to document error TFDSELLO01
    • Create examples on docs/componentes/certificado.md on object creation
  • Change tests to not ssl verify peer due SAT web server configuration errors (expired certificate)
    • Add CfdiUtilsTests\TestCase::newInsecurePhpDownloader(): DownloaderInterface
    • Use insecure downlader in CfdiUtilsTests\CfdiValidator33Test
    • Use insecure downlader in CfdiUtilsTests\Validate\Cfdi33\Standard\TimbreFiscalDigitalSelloTest
    • Use insecure downlader in CfdiUtilsTests\Certificado\CerRetrieverTest
    • Also add note to docs/TODO.md to remove this insecure downloader when SAT server is fine
  • Change composer scripts and prefix dev:, commands are now:
    • dev:build: run dev:fix-style dev:tests and dev:docs, run before pull request
    • dev:check-style: search for code style errors using php-cs-fixer and phpcs
    • dev:fix-style: fix code style errors using php-cs-fixer and phpcbf
    • dev:docs: search for code style errors unsing markdownlint and build docs using mkdocs
    • dev:test: run phplint, phpunit and phpstan
    • dev:coverage: run phpunit with xdebug and store coverage in build/coverage/html