Skip to content

Commit

Permalink
Merge pull request #23 from eclipxe13/maintenance
Browse files Browse the repository at this point in the history
Agregar CCP 3.0 a los espacios de nombres conocidos (v1.3.1)
  • Loading branch information
eclipxe13 committed Oct 22, 2023
2 parents 8d06100 + eb8ff07 commit bbecc9b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpcs" version="^3.7.1" installed="3.7.1" location="./tools/phpcs" copy="false"/>
<phar name="phpcbf" version="^3.7.1" installed="3.7.1" location="./tools/phpcbf" copy="false"/>
<phar name="php-cs-fixer" version="^3.14.3" installed="3.14.3" location="./tools/php-cs-fixer" copy="false"/>
<phar name="phpstan" version="^1.9.14" installed="1.9.14" location="./tools/phpstan" copy="false"/>
<phar name="phpcs" version="^3.7.2" installed="3.7.2" location="./tools/phpcs" copy="false"/>
<phar name="phpcbf" version="^3.7.2" installed="3.7.2" location="./tools/phpcbf" copy="false"/>
<phar name="php-cs-fixer" version="^3.35.1" installed="3.35.1" location="./tools/php-cs-fixer" copy="false"/>
<phar name="phpstan" version="^1.10.39" installed="1.10.39" location="./tools/phpstan" copy="false"/>
</phive>
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'whitespace_after_comma_in_array' => true,
'no_empty_statement' => true,
'no_extra_blank_lines' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => true,
'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['arrays']],
'no_blank_lines_after_phpdoc' => true,
'object_operator_without_whitespace' => true,
Expand Down
10 changes: 10 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ Utilizamos [Versionado Semántico 2.0.0](SEMVER.md).

Los cambios no liberados se integran a la rama principal, pero no requieren de la liberación de una nueva versión.

## Versión 1.3.1

- Se agrega *Carta Porte 3.0* a la lista de espacio de nombres conocidos.

### Mantenimiento 2023-10-22

- Se corrige la configuración de *PHP-CS-Fixer*.
- Se corrigen las exclusiones de archivos para *SonarCloud*.
- Se actualizan las herramientas de desarrollo.

### Mantenimiento 2023-02-07

- Se refactoriza una prueba porque en PHPUnit 9.6.3 se deprecó el método `expectDeprecation()`.
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sonar.sourceEncoding=UTF-8
sonar.language=php
sonar.sources=src
sonar.tests=tests
sonar.exclusions=vendor/,tools/,build/,tests/_files/
sonar.test.exclusions=tests/_files/**/*
sonar.working.directory=build/.scannerwork
sonar.php.tests.reportPath=build/sonar-junit.xml
sonar.php.coverage.reportPaths=build/sonar-coverage.xml
2 changes: 2 additions & 0 deletions src/XmlDocumentCleaners/SetKnownSchemaLocations.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ class SetKnownSchemaLocations implements XmlDocumentCleanerInterface
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte.xsd',
'http://www.sat.gob.mx/CartaPorte20#2.0'
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte20.xsd',
'http://www.sat.gob.mx/CartaPorte30#3.0'
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte30.xsd',
'http://www.sat.gob.mx/esquemas/retencionpago/1/arrendamientoenfideicomiso#1.0'
=> 'http://www.sat.gob.mx/esquemas/retencionpago/1/arrendamientoenfideicomiso/arrendamientoenfideicomiso.xsd',
'http://www.sat.gob.mx/esquemas/retencionpago/1/dividendos#1.0'
Expand Down

0 comments on commit bbecc9b

Please sign in to comment.