Skip to content

Commit 90a4e3c

Browse files
Support symfony 7
1 parent 6bfe9e8 commit 90a4e3c

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
operating-system: [ubuntu-latest]
17-
php-versions: ["8.1", "8.2"]
17+
php-versions: ["8.2", "8.3"]
1818

1919
name: PHP ${{ matrix.php-versions }} Static Analysis on ${{ matrix.operating-system }}
2020

composer.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,26 @@
1515
}
1616
},
1717
"require": {
18-
"php": ">=8.1",
19-
"symfony/framework-bundle": "^6.3"
18+
"php": "^8.2",
19+
"symfony/framework-bundle": "^6.3 || ^7.0"
2020
},
2121
"require-dev": {
2222
"friendsofphp/php-cs-fixer": "^3.13",
2323
"phpstan/extension-installer": "^1.1",
2424
"phpstan/phpstan": "^1.4",
2525
"phpstan/phpstan-symfony": "^1.1",
26-
"symfony/http-client": "^6.3",
26+
"symfony/http-client": "^6.3 || ^7.0",
2727
"symfony/monolog-bundle": "^3.6",
28-
"symfony/twig-bundle": "^6.3",
29-
"symfony/uid": "^6.3",
28+
"symfony/twig-bundle": "^6.3 || ^7.0",
29+
"symfony/uid": "^6.3 || ^7.0",
3030
"twig/twig": "^3.3"
3131
},
32-
"conflict": {
33-
"symfony/framework-bundle": "<6.3"
34-
},
3532
"extra": {
3633
"branch-alias": {
3734
"dev-main": "1.x-dev"
3835
}
3936
},
4037
"config": {
41-
"sort-packages": true,
42-
"allow-plugins": {
43-
"phpstan/extension-installer": true
44-
}
38+
"sort-packages": true
4539
}
4640
}

0 commit comments

Comments
 (0)