Skip to content

Commit 4d8f37e

Browse files
committed
fix: update lint command in CI configuration and adjust package version constraints
1 parent eadd20b commit 4d8f37e

8 files changed

Lines changed: 23 additions & 27 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: composer validate --strict
4242

4343
- name: Check code style (Pint) - All Components
44-
run: composer run lint
44+
run: composer run lint -- --test
4545

4646
- name: Run PHPStan static analysis - All Components
4747
run: composer run phpstan

src/Component/CodeGeneration/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "ardenexal/fhir-code-generation",
3-
"version": "0.1.2",
43
"description": "FHIR code generation component for PHP FHIRTools",
54
"type": "library",
65
"license": "MIT",

src/Component/FHIRPath/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "ardenexal/fhir-path",
3-
"version": "0.1.2",
43
"description": "FHIRPath 2.0 expression evaluation for PHP",
54
"type": "library",
65
"license": "MIT",
@@ -17,7 +16,7 @@
1716
"psr/http-client": "^1.0",
1817
"psr/http-factory": "^1.0",
1918
"psr/http-message": "^2.0",
20-
"psr/log": "^3.0",
19+
"psr/log": "^1|^2|^3",
2120
"symfony/string": "^6.4|^7.4",
2221
"symfony/property-access": "^6.4|^7.4"
2322
},

src/Component/Models/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "ardenexal/fhir-models",
3-
"version": "0.1.2",
43
"description": "Pre-generated FHIR model classes for R4, R4B, and R5 versions",
54
"type": "library",
65
"license": "MIT",

src/Component/Serialization/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "ardenexal/fhir-serialization",
3-
"version": "0.1.2",
43
"description": "PHP library for FHIR JSON serialization, deserialization, and validation",
54
"type": "library",
65
"license": "MIT",

tests/Integration/Serialization/BundleXmlPolymorphicResourceTest.php renamed to src/Component/Serialization/tests/Integration/BundleXmlPolymorphicResourceTest.php

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

33
declare(strict_types=1);
44

5-
namespace Ardenexal\FHIRTools\Tests\Integration\Serialization;
5+
namespace Ardenexal\FHIRTools\Component\Serialization\Tests\Integration;
66

77
use Ardenexal\FHIRTools\Component\Models\R4\Resource\BundleResource;
88
use Ardenexal\FHIRTools\Component\Models\R4\Resource\PatientResource;

tests/Integration/Serialization/BundleXmlToJsonConversionTest.php renamed to src/Component/Serialization/tests/Integration/BundleXmlToJsonConversionTest.php

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

33
declare(strict_types=1);
44

5-
namespace Ardenexal\FHIRTools\Tests\Integration\Serialization;
5+
namespace Ardenexal\FHIRTools\Component\Serialization\Tests\Integration;
66

77
use Ardenexal\FHIRTools\Component\Models\R4\Resource\BundleResource;
88
use Ardenexal\FHIRTools\Component\Serialization\FHIRSerializationService;

src/Component/Serialization/tests/Integration/SerializationSpecificationTest.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,25 +113,25 @@ public function testRoundTrip(string $filename, string $contents, string $format
113113
$this->markTestSkipped('fhir/fhir-test-cases not installed — run: composer update fhir/fhir-test-cases');
114114
}
115115

116-
// Known serialization bugs (tracked separately)
117-
$knownBugs = [
118-
// _birthDate.extension test removed - appears to be fixed!
119-
// XML @value attribute serialization issues:
120-
'condition-example.xml',
121-
'list-example-long.xml',
122-
'medicationdispenseexample8.xml',
123-
'observation-decimal.xml',
124-
'observation-example-20minute-apgar-score.xml',
125-
'observation-example.xml',
126-
'organization-1.xml',
127-
'patient-example-xds.xml',
128-
'patient-example.xml',
129-
'patient-glossy-example.xml',
130-
];
131-
132-
if (in_array($filename, $knownBugs, true)) {
133-
$this->markTestSkipped("Known serialization bug: {$filename} — see KNOWN_ISSUES.md");
134-
}
116+
// // Known serialization bugs (tracked separately)
117+
// $knownBugs = [
118+
// // _birthDate.extension test removed - appears to be fixed!
119+
// // XML @value attribute serialization issues:
120+
// 'condition-example.xml',
121+
// 'list-example-long.xml',
122+
// 'medicationdispenseexample8.xml',
123+
// 'observation-decimal.xml',
124+
// 'observation-example-20minute-apgar-score.xml',
125+
// 'observation-example.xml',
126+
// 'organization-1.xml',
127+
// 'patient-example-xds.xml',
128+
// 'patient-example.xml',
129+
// 'patient-glossy-example.xml',
130+
// ];
131+
//
132+
// if (in_array($filename, $knownBugs, true)) {
133+
// $this->markTestSkipped("Known serialization bug: {$filename} — see KNOWN_ISSUES.md");
134+
// }
135135

136136
// Step 1: Deserialize original file → typed model object.
137137
// Skip (not fail) if the resource type is not yet supported.

0 commit comments

Comments
 (0)