Skip to content

Commit ce13dff

Browse files
committed
Support Symfony ^8.0
1 parent 8c72d27 commit ce13dff

5 files changed

Lines changed: 27 additions & 17 deletions

File tree

‎.github/workflows/master.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ jobs:
1111
strategy:
1212
matrix:
1313
php:
14+
- '8.1'
1415
- '8.2'
1516
- '8.3'
17+
- '8.4'
18+
- '8.5'
1619
steps:
17-
- uses: actions/checkout@v2
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
1822
with:
1923
fetch-depth: 0
2024
- name: Set up PHP ${{ matrix.php }}
@@ -24,9 +28,9 @@ jobs:
2428
coverage: xdebug
2529
- name: Get composer cache directory
2630
id: composercache
27-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
31+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
2832
- name: Cache dependencies
29-
uses: actions/cache@v2
33+
uses: actions/cache@v4
3034
with:
3135
path: ${{ steps.composercache.outputs.dir }}
3236
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

‎CHANGELOG.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9-
## [Unreleased](https://github.com/inspirum/xml-php-symfony/compare/v1.0.0...master)
9+
## [Unreleased](https://github.com/inspirum/xml-php-symfony/compare/v1.2.0...master)
10+
11+
12+
## [v1.2.0 (2026-03-26)](https://github.com/inspirum/xml-php-symfony/compare/v1.1.0...v1.2.0)
13+
### Added
14+
- Support [`inspirum/xml`](https://github.com/inspirum/xml-php) `^3.0` for Symfony `^6.4 || ^7.4 || ^8.0`
1015

1116

1217
## [v1.1.0 (2024-04-19)](https://github.com/inspirum/xml-php-symfony/compare/v1.0.0...v1.1.0)

‎composer.json‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,17 @@
2626
"php": "^8.2",
2727
"ext-json": "*",
2828
"inspirum/xml": "^3.0",
29-
"symfony/dependency-injection": "^6.1 || ^7.0",
30-
"symfony/http-kernel": "^6.1 || ^7.0"
29+
"symfony/dependency-injection": "^6.4 || ^7.4 || ^8.0",
30+
"symfony/http-kernel": "^6.4|| ^7.4 || ^8.0"
3131
},
3232
"require-dev": {
33-
"inspirum/coding-standard": "^1.5",
34-
"phpstan/phpstan": "^1.10",
35-
"phpunit/phpunit": "^10.5",
36-
"shipmonk/composer-dependency-analyser": "^1.5",
37-
"squizlabs/php_codesniffer": "^3.9",
38-
"symfony/config": "^6.1 || ^7.0",
39-
"symfony/filesystem": "^6.1 || ^7.0",
40-
"symfony/yaml": "^6.1 || ^7.0"
33+
"inspirum/coding-standard": "^1.8",
34+
"phpstan/phpstan": "^2.1",
35+
"phpunit/phpunit": "^11.5 || ^12.5 || ^13.0",
36+
"shipmonk/composer-dependency-analyser": "^1.8",
37+
"symfony/config": "^6.4 || ^7.4 || ^8.0",
38+
"symfony/filesystem": "^6.4 || ^7.4 || ^8.0",
39+
"symfony/yaml": "^6.4 || ^7.4 || ^8.0"
4140
},
4241
"autoload": {
4342
"psr-4": {
@@ -66,7 +65,7 @@
6665
"@test:unit"
6766
],
6867
"test:unit": [
69-
"@phpunit --testsuite=Unit"
68+
"@phpunit --testsuite=Unit --no-coverage"
7069
],
7170
"test:coverage": [
7271
"@phpunit --coverage-text --coverage-html=var/phpunit/coverage"

‎phpcs.xml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
<arg value="sp"/>
44
<file>src</file>
55
<file>tests</file>
6-
<rule ref="InspirumCodingStandard"/>
6+
<rule ref="InspirumCodingStandard">
7+
<exclude name="SlevomatCodingStandard.TypeHints.ClassConstantTypeHint.MissingNativeTypeHint"/>
8+
</rule>
79
</ruleset>

‎phpstan.neon‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
includes:
22
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
33
parameters:
4-
level: 9
4+
level: 10
55
paths:
66
- src
77
- tests

0 commit comments

Comments
 (0)