Skip to content

Commit 55e434e

Browse files
committed
Support Symfony ^7.0
1 parent 64d7816 commit 55e434e

File tree

4 files changed

+16
-27
lines changed

4 files changed

+16
-27
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: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,18 @@
2020
"require": {
2121
"php": "^8.1",
2222
"inspirum/balikobot": "^7.6",
23-
"symfony/config": "^6.1",
24-
"symfony/dependency-injection": "^6.1",
25-
"symfony/http-kernel": "^6.1"
23+
"symfony/config": "^6.1 || ^7.0",
24+
"symfony/dependency-injection": "^6.1 || ^7.0",
25+
"symfony/http-kernel": "^6.1 || ^7.0"
2626
},
2727
"require-dev": {
28-
"inspirum/coding-standard": "^1.3",
28+
"inspirum/coding-standard": "^1.4",
2929
"phpstan/phpstan": "^1.10",
30-
"phpunit/phpunit": "^10.1",
31-
"squizlabs/php_codesniffer": "^3.7",
32-
"symfony/yaml": "^6.1"
30+
"phpunit/phpunit": "^10.5",
31+
"shipmonk/composer-dependency-analyser": "^1.5",
32+
"squizlabs/php_codesniffer": "^3.9",
33+
"symfony/filesystem": "^6.1 || ^7.0",
34+
"symfony/yaml": "^6.1 || ^7.0"
3335
},
3436
"autoload": {
3537
"psr-4": {
@@ -52,8 +54,7 @@
5254
"@style:phpcs",
5355
"@test:unit",
5456
"@style:phpstan",
55-
"@check:requirement",
56-
"@check:unused"
57+
"@check:dependency"
5758
],
5859
"test:test": [
5960
"@test:unit"
@@ -67,9 +68,6 @@
6768
"test:unit:coverage": [
6869
"@phpunit --testsuite=Unit --coverage-text --coverage-html=var/phpunit/coverage"
6970
],
70-
"test:infection": [
71-
"@infection"
72-
],
7371
"style:phpcs": [
7472
"@phpcs"
7573
],
@@ -83,18 +81,13 @@
8381
"style:fix": [
8482
"@phpcbf src tests"
8583
],
86-
"check:requirement": [
87-
"@composerRequireChecker"
88-
],
89-
"check:unused": [
90-
"@composerUnused"
84+
"check:dependency": [
85+
"@composer-dependency-analyser"
9186
],
9287
"phpunit": "./vendor/bin/phpunit",
9388
"phpcs": "./vendor/bin/phpcs -p -s --extensions=php --colors --report-width=140",
9489
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon",
9590
"phpcbf": "./vendor/bin/phpcbf -p --extensions=php",
96-
"infection": "./tools/infection",
97-
"composerRequireChecker": "./tools/composer-require-checker check",
98-
"composerUnused": "./tools/composer-unused"
91+
"composer-dependency-analyser": "./vendor/bin/composer-dependency-analyser"
9992
}
10093
}

phive.xml

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

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ parameters:
77
- tests
88
ignoreErrors:
99
-
10-
message: '#^Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.$#'
10+
message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\:\:scalarNode\(\).$#'
1111
count: 1
1212
path: src/BalikobotBundle.php

0 commit comments

Comments
 (0)