Skip to content

Commit 6a5f190

Browse files
committed
Support Symfony ^7.0
1 parent e220bf3 commit 6a5f190

File tree

3 files changed

+16
-28
lines changed

3 files changed

+16
-28
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
php:
1414
- '8.1'
1515
- '8.2'
16+
- '8.3'
1617
steps:
1718
- uses: actions/checkout@v2
1819
with:
@@ -37,6 +38,7 @@ jobs:
3738
run: |
3839
vendor/bin/phpcs src tests
3940
vendor/bin/phpstan analyse -c phpstan.neon
41+
vendor/bin/composer-dependency-analyser
4042
- name: Run tests
4143
run: |
4244
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

composer.json

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,19 @@
2525
"require": {
2626
"php": "^8.1",
2727
"ext-json": "*",
28-
"inspirum/arrayable": "^1.1",
29-
"inspirum/xml": "^2.1",
30-
"symfony/dependency-injection": "^6.1",
31-
"symfony/http-kernel": "^6.1"
28+
"inspirum/xml": "^3.0",
29+
"symfony/dependency-injection": "^6.1 || ^7.0",
30+
"symfony/http-kernel": "^6.1 || ^7.0"
3231
},
3332
"require-dev": {
34-
"inspirum/coding-standard": "^1.3",
33+
"inspirum/coding-standard": "^1.4",
3534
"phpstan/phpstan": "^1.10",
36-
"phpunit/phpunit": "^10.1",
37-
"squizlabs/php_codesniffer": "^3.7",
38-
"symfony/config": "^6.1",
39-
"symfony/yaml": "^6.1"
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"
4041
},
4142
"autoload": {
4243
"psr-4": {
@@ -59,8 +60,7 @@
5960
"@style:phpcs",
6061
"@test:unit",
6162
"@style:phpstan",
62-
"@check:requirement",
63-
"@check:unused"
63+
"@check:dependency"
6464
],
6565
"test:test": [
6666
"@test:unit"
@@ -74,9 +74,6 @@
7474
"test:unit:coverage": [
7575
"@phpunit --testsuite=Unit --coverage-text --coverage-html=var/phpunit/coverage"
7676
],
77-
"test:infection": [
78-
"@infection"
79-
],
8077
"style:phpcs": [
8178
"@phpcs"
8279
],
@@ -90,18 +87,13 @@
9087
"style:fix": [
9188
"@phpcbf src tests"
9289
],
93-
"check:requirement": [
94-
"@composerRequireChecker"
95-
],
96-
"check:unused": [
97-
"@composerUnused"
90+
"check:dependency": [
91+
"@composer-dependency-analyser"
9892
],
9993
"phpunit": "./vendor/bin/phpunit",
10094
"phpcs": "./vendor/bin/phpcs -p -s --extensions=php --colors --report-width=140",
10195
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon",
10296
"phpcbf": "./vendor/bin/phpcbf -p --extensions=php",
103-
"infection": "./tools/infection",
104-
"composerRequireChecker": "./tools/composer-require-checker check",
105-
"composerUnused": "./tools/composer-unused"
97+
"composer-dependency-analyser": "./vendor/bin/composer-dependency-analyser"
10698
}
10799
}

phive.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)