From bbf1dce31cf94df0c1f0f45580c345d49fa72696 Mon Sep 17 00:00:00 2001 From: giansalex Date: Wed, 2 Sep 2026 22:15:24 +0000 Subject: [PATCH 1/3] Add optional sac:ExceptionalIndicator to Perception schema Declare ExceptionalIndicator (an2, max 2 chars) in UBLPE-SunatAggregateComponents-1.0.xsd and reference it in UBL-Perception-2.0.xsd after cbc:IssueTime with minOccurs=0. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01GA8vxaK6crVmDKtFRYoyi3 --- src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd | 6 ++++++ src/xsd/2.0/maindoc/UBL-Perception-2.0.xsd | 1 + 2 files changed, 7 insertions(+) diff --git a/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd b/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd index dfc46fd..5410313 100644 --- a/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd +++ b/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd @@ -79,6 +79,7 @@ + @@ -90,6 +91,11 @@ + + + + + + From 679abc5dd878ef66c2689ded1a302c6f9837a633 Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Wed, 2 Sep 2026 17:59:10 -0500 Subject: [PATCH 2/3] Change ExceptionalIndicator type to cbc:IDType --- src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd b/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd index 5410313..0cab38e 100644 --- a/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd +++ b/src/xsd/2.0/common/UBLPE-SunatAggregateComponents-1.0.xsd @@ -79,7 +79,7 @@ - + @@ -91,11 +91,6 @@ - - - - - Date: Wed, 2 Sep 2026 23:03:47 +0000 Subject: [PATCH 3/3] Fix CI: allow Composer to resolve deps with known advisories Composer 2.10 blocks dependency resolution when packages have security advisories, which breaks install for phpunit ^5 and its transitive symfony/yaml requirement. This project has dev-only dependencies, so disable advisory blocking via config policy.advisories.block. Also rename the invalid setup-php input extension-csv to extensions. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01GA8vxaK6crVmDKtFRYoyi3 --- .github/workflows/main.yml | 2 +- composer.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ab97f0..046e861 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extension-csv: dom + extensions: dom ini-values: xdebug.mode=coverage - run: composer install - name: PHPUnit Tests diff --git a/composer.json b/composer.json index 3efdc23..8d5ede2 100644 --- a/composer.json +++ b/composer.json @@ -28,5 +28,12 @@ }, "require-dev": { "phpunit/phpunit": "^5" + }, + "config": { + "policy": { + "advisories": { + "block": false + } + } } }