Skip to content

Commit bbecc9b

Browse files
authored
Merge pull request #23 from eclipxe13/maintenance
Agregar CCP 3.0 a los espacios de nombres conocidos (v1.3.1)
2 parents 8d06100 + eb8ff07 commit bbecc9b

5 files changed

Lines changed: 18 additions & 6 deletions

File tree

.phive/phars.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpcs" version="^3.7.1" installed="3.7.1" location="./tools/phpcs" copy="false"/>
4-
<phar name="phpcbf" version="^3.7.1" installed="3.7.1" location="./tools/phpcbf" copy="false"/>
5-
<phar name="php-cs-fixer" version="^3.14.3" installed="3.14.3" location="./tools/php-cs-fixer" copy="false"/>
6-
<phar name="phpstan" version="^1.9.14" installed="1.9.14" location="./tools/phpstan" copy="false"/>
3+
<phar name="phpcs" version="^3.7.2" installed="3.7.2" location="./tools/phpcs" copy="false"/>
4+
<phar name="phpcbf" version="^3.7.2" installed="3.7.2" location="./tools/phpcbf" copy="false"/>
5+
<phar name="php-cs-fixer" version="^3.35.1" installed="3.35.1" location="./tools/php-cs-fixer" copy="false"/>
6+
<phar name="phpstan" version="^1.10.39" installed="1.10.39" location="./tools/phpstan" copy="false"/>
77
</phive>

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'whitespace_after_comma_in_array' => true,
2323
'no_empty_statement' => true,
2424
'no_extra_blank_lines' => true,
25-
'function_typehint_space' => true,
25+
'type_declaration_spaces' => true,
2626
'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['arrays']],
2727
'no_blank_lines_after_phpdoc' => true,
2828
'object_operator_without_whitespace' => true,

docs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ Utilizamos [Versionado Semántico 2.0.0](SEMVER.md).
88

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

11+
## Versión 1.3.1
12+
13+
- Se agrega *Carta Porte 3.0* a la lista de espacio de nombres conocidos.
14+
15+
### Mantenimiento 2023-10-22
16+
17+
- Se corrige la configuración de *PHP-CS-Fixer*.
18+
- Se corrigen las exclusiones de archivos para *SonarCloud*.
19+
- Se actualizan las herramientas de desarrollo.
20+
1121
### Mantenimiento 2023-02-07
1222

1323
- Se refactoriza una prueba porque en PHPUnit 9.6.3 se deprecó el método `expectDeprecation()`.

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sonar.sourceEncoding=UTF-8
44
sonar.language=php
55
sonar.sources=src
66
sonar.tests=tests
7-
sonar.exclusions=vendor/,tools/,build/,tests/_files/
7+
sonar.test.exclusions=tests/_files/**/*
88
sonar.working.directory=build/.scannerwork
99
sonar.php.tests.reportPath=build/sonar-junit.xml
1010
sonar.php.coverage.reportPaths=build/sonar-coverage.xml

src/XmlDocumentCleaners/SetKnownSchemaLocations.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ class SetKnownSchemaLocations implements XmlDocumentCleanerInterface
130130
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte.xsd',
131131
'http://www.sat.gob.mx/CartaPorte20#2.0'
132132
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte20.xsd',
133+
'http://www.sat.gob.mx/CartaPorte30#3.0'
134+
=> 'http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte30.xsd',
133135
'http://www.sat.gob.mx/esquemas/retencionpago/1/arrendamientoenfideicomiso#1.0'
134136
=> 'http://www.sat.gob.mx/esquemas/retencionpago/1/arrendamientoenfideicomiso/arrendamientoenfideicomiso.xsd',
135137
'http://www.sat.gob.mx/esquemas/retencionpago/1/dividendos#1.0'

0 commit comments

Comments
 (0)