Skip to content

Commit a884fb2

Browse files
authored
Add Symfony 7 support (#53)
1 parent 222ea12 commit a884fb2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

DependencyInjection/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class Configuration implements ConfigurationInterface
2525
{
26-
public function getConfigTreeBuilder()
26+
public function getConfigTreeBuilder(): TreeBuilder
2727
{
2828
$treeBuilder = new TreeBuilder('sulu_comment');
2929
$rootNode = $treeBuilder->getRootNode();

composer.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
"require": {
77
"php": "^7.2 || ^8.0",
88
"friendsofsymfony/rest-bundle": "^2.6 || ^3.0",
9-
"sulu/sulu": "^2.0.4 || ^2.5.10@dev",
10-
"symfony/config": "^4.3 || ^5.0 || ^6.0",
11-
"symfony/dependency-injection": "^4.3 || ^5.0 || ^6.0",
12-
"symfony/framework-bundle": "^4.3 || ^5.0 || ^6.0",
13-
"symfony/http-foundation": "^4.3 || ^5.0 || ^6.0",
14-
"symfony/http-kernel": "^4.3 || ^5.0 || ^6.0"
9+
"sulu/sulu": "^2.4 || ^2.5@dev",
10+
"symfony/config": "^4.4 || ^5.4 || ^6.0 || ^7.0",
11+
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0 || ^7.0",
12+
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0 || ^7.0",
13+
"symfony/http-foundation": "^4.4 || ^5.4 || ^6.0 || ^7.0",
14+
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0 || ^7.0"
1515
},
1616
"require-dev": {
1717
"doctrine/doctrine-bundle": "^1.10 || ^2.0",
1818
"friendsofphp/php-cs-fixer": "^2.17 || ^3.0",
1919
"handcraftedinthealps/zendsearch": "^2.0",
20-
"jackalope/jackalope-doctrine-dbal": "^1.3.4",
20+
"jackalope/jackalope-doctrine-dbal": "^1.3.4 || ^2.0",
2121
"jangregor/phpstan-prophecy": "^1.0",
2222
"massive/search-bundle": "^2.0.0",
2323
"php-ffmpeg/php-ffmpeg": "^0.14 || ^1.0",
@@ -27,13 +27,13 @@
2727
"phpstan/phpstan-doctrine": "^1.0",
2828
"phpstan/phpstan-phpunit": "^1.0",
2929
"phpstan/phpstan-symfony": "^1.0",
30-
"phpunit/phpunit": "^8.0 || ^9.0",
31-
"symfony/browser-kit": "^4.3 || ^5.0 || ^6.0",
32-
"symfony/dotenv": "^4.3 || ^5.0 || ^6.0",
33-
"symfony/form": "^4.3 || ^5.0 || ^6.0",
30+
"phpunit/phpunit": "^8.0 ||^9.6",
31+
"symfony/browser-kit": "^4.4 || ^5.4 || ^6.0 || ^7.0",
32+
"symfony/dotenv": "^4.4 || ^5.4 || ^6.0 || ^7.0",
33+
"symfony/form": "^4.4 || ^5.4 || ^6.0 || ^7.0",
3434
"symfony/monolog-bundle": "^3.1",
35-
"symfony/security-bundle": "^4.3 || ^5.0 || ^6.0",
36-
"symfony/stopwatch": "^4.3 || ^5.0 || ^6.0",
35+
"symfony/security-bundle": "^4.4 || ^5.4 || ^6.0 || ^7.0",
36+
"symfony/stopwatch": "^4.4 || ^5.4 || ^6.0 || ^7.0",
3737
"thecodingmachine/phpstan-strict-rules": "^1.0"
3838
},
3939
"keywords": [],

0 commit comments

Comments
 (0)