Skip to content

Commit 3545050

Browse files
authored
Merge pull request #115 from eclipxe13/development
Maintenance 2024-01-08 (Fix build)
2 parents 0dca47a + ba3ac7b commit 3545050

File tree

9 files changed

+37
-17
lines changed

9 files changed

+37
-17
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
runs-on: "ubuntu-latest"
112112
strategy:
113113
matrix:
114-
php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2' ]
114+
php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
115115
steps:
116116
- name: Checkout
117117
uses: actions/checkout@v3
@@ -148,6 +148,10 @@ jobs:
148148
git clone --depth 1 https://github.com/phpcfdi/resources-sat-xml resources-sat-xml-cloned
149149
mv resources-sat-xml-cloned/resources build/resources
150150
rm -r -f resources-sat-xml-cloned
151+
- name: Remove genkgo/xsl on PHP 8.3
152+
if: matrix.php-versions == '8.3'
153+
run: |
154+
composer remove genkgo/xsl --dev --no-interaction --no-progress --no-update
151155
- name: Install project dependencies
152156
run: |
153157
composer remove squizlabs/php_codesniffer friendsofphp/php-cs-fixer phpstan/phpstan --dev --no-interaction --no-progress --no-update
@@ -165,7 +169,7 @@ jobs:
165169
runs-on: "windows-latest"
166170
strategy:
167171
matrix:
168-
php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2' ]
172+
php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
169173
steps:
170174
- name: Checkout
171175
uses: actions/checkout@v3
@@ -196,6 +200,10 @@ jobs:
196200
git clone --depth 1 https://github.com/phpcfdi/resources-sat-xml resources-sat-xml-cloned
197201
mv resources-sat-xml-cloned/resources build/resources
198202
rm -r -f resources-sat-xml-cloned
203+
- name: Remove genkgo/xsl on PHP 8.3
204+
if: matrix.php-versions == '8.3'
205+
run: |
206+
composer remove genkgo/xsl --dev --no-interaction --no-progress --no-update
199207
- name: Install project dependencies
200208
run: |
201209
composer remove squizlabs/php_codesniffer friendsofphp/php-cs-fixer phpstan/phpstan --dev --no-interaction --no-progress --no-update

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 - 2023 Carlos C Soto https://eclipxe.com.mx/
3+
Copyright (c) 2016 - 2024 Carlos C Soto https://eclipxe.com.mx/
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ This library is compatible with **PHP 7.3 and above**. Please, try to use the la
6868
The intended support is to be aligned with the oldest *Active support* PHP Branch.
6969
See <https://www.php.net/supported-versions.php> for more details.
7070

71-
| CfdiUtils | PHP Supported versions | Since |
72-
|-----------|-------------------------|------------|
73-
| 1.0 | 7.0, 7.1 | 2017-09-27 |
74-
| 2.0 | 7.0, 7.1 | 2018-01-01 |
75-
| 2.0.1 | 7.0, 7.1, 7.2 | 2018-01-03 |
76-
| 2.8.1 | 7.0, 7.1, 7.2, 7.3 | 2019-03-05 |
77-
| 2.12.7 | 7.0, 7.1, 7.2, 7.3, 7.4 | 2019-12-04 |
78-
| 2.15.0 | 7.3, 7.4, 8.0 | 2021-03-17 |
79-
| 2.20.1 | 7.3, 7.4, 8.0, 8.1 | 2022-03-08 |
80-
| 2.23.5 | 7.3, 7.4, 8.0, 8.1, 8.2 | 2023-05-26 |
71+
| CfdiUtils | PHP Supported versions | Since |
72+
|-----------|------------------------------|------------|
73+
| 1.0 | 7.0, 7.1 | 2017-09-27 |
74+
| 2.0 | 7.0, 7.1 | 2018-01-01 |
75+
| 2.0.1 | 7.0, 7.1, 7.2 | 2018-01-03 |
76+
| 2.8.1 | 7.0, 7.1, 7.2, 7.3 | 2019-03-05 |
77+
| 2.12.7 | 7.0, 7.1, 7.2, 7.3, 7.4 | 2019-12-04 |
78+
| 2.15.0 | 7.3, 7.4, 8.0 | 2021-03-17 |
79+
| 2.20.1 | 7.3, 7.4, 8.0, 8.1 | 2022-03-08 |
80+
| 2.23.5 | 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 | 2023-05-26 |
8181

8282
## Contributing
8383

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
- Merge methods from `\CfdiUtils\Nodes\NodeHasValueInterface` into `\CfdiUtils\Nodes\NodeInterface`.
3333
- Remove deprecated constant `CfdiUtils\Retenciones\Retenciones::RET_NAMESPACE`.
3434

35+
## Unreleased 2024-01-08
36+
37+
- Fix continuous integration code style.
38+
- Update license year. Happy 2024!
39+
- Add PHP 8.3 to test matrix on Linux and Windows.
40+
- Remove `genkgo/xsl` on PHP 8.3 since it is not compatible yet.
41+
3542
## Unreleased 2023-10-30
3643

3744
Fix continuous integration: `php-cs-fixer:3.37.1` fixes.

docs/TODO.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ es necesario agregarla tomando como ejemplo la documentación del *Complemento d
99

1010
## Verificar problemas conocidos
1111

12+
### Compatibilidad con `genkgo/xsl`
13+
14+
A la fecha 2023-01-08 la librería `genkgo/xsl` no es compatible con PHP 8.3.
15+
Cuando la dependencia sea compatible, modificar la construcción del proyecto para realizar las pruebas completas.
16+
1217
### Descarga de certificados desde <https://rdc.sat.gob.mx/rccf/> por certificados vencidos
1318

1419
Ver: <https://www.phpcfdi.com/sat/problemas-conocidos/descarga-certificados/#problemas-de-caducidad-de-certificados>

src/CfdiUtils/Elements/Cfdi33/Helpers/SumasConceptosWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
* @deprecated :3.0.0
11-
* @see \CfdiUtils\SumasConceptos\SumasConceptosWriter
11+
* @see BaseSumasConceptosWriter
1212
*/
1313
class SumasConceptosWriter extends BaseSumasConceptosWriter
1414
{

src/CfdiUtils/Elements/Cfdi40/Helpers/SumasConceptosWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
* @deprecated :3.0.0
11-
* @see \CfdiUtils\SumasConceptos\SumasConceptosWriter
11+
* @see BaseSumasConceptosWriter
1212
*/
1313
class SumasConceptosWriter extends BaseSumasConceptosWriter
1414
{

src/CfdiUtils/Validate/Cfdi33/Standard/ComprobanteDecimalesMoneda.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ComprobanteDecimalesMoneda extends AbstractDiscoverableVersion33
2424
/** @var Asserts */
2525
private $asserts;
2626

27-
/** @var \CfdiUtils\Utils\CurrencyDecimals */
27+
/** @var CurrencyDecimals */
2828
private $currency;
2929

3030
private function registerAsserts()

src/CfdiUtils/Validate/Cfdi33/Standard/SumasConceptosComprobanteImpuestos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class SumasConceptosComprobanteImpuestos extends AbstractDiscoverableVersion33
4646
/** @var Asserts */
4747
private $asserts;
4848

49-
/** @var \CfdiUtils\SumasConceptos\SumasConceptos */
49+
/** @var SumasConceptos */
5050
private $sumasConceptos;
5151

5252
private function registerAsserts()

0 commit comments

Comments
 (0)