Skip to content

Commit d12d2de

Browse files
tacmanweaverryan
authored andcommitted
allow symfony6
1 parent 08b370e commit d12d2de

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,26 @@
1616
"php": ">=7.1.3",
1717
"doctrine/inflector": "^1.2|^2.0",
1818
"nikic/php-parser": "^4.11",
19-
"symfony/config": "^4.0|^5.0",
20-
"symfony/console": "^4.0|^5.0",
21-
"symfony/dependency-injection": "^4.0|^5.0",
19+
"symfony/config": "^4.0|^5.0|^6.0",
20+
"symfony/console": "^4.0|^5.0|^6.0",
21+
"symfony/dependency-injection": "^4.0|^5.0|^6.0",
2222
"symfony/deprecation-contracts": "^2.2",
23-
"symfony/filesystem": "^4.0|^5.0",
24-
"symfony/finder": "^4.0|^5.0",
25-
"symfony/framework-bundle": "^4.0|^5.0",
26-
"symfony/http-kernel": "^4.0|^5.0"
23+
"symfony/filesystem": "^4.0|^5.0|^6.0",
24+
"symfony/finder": "^4.0|^5.0|^6.0",
25+
"symfony/framework-bundle": "^4.0|^5.0|^6.0",
26+
"symfony/http-kernel": "^4.0|^5.0|^6.0"
2727
},
2828
"require-dev": {
2929
"composer/semver": "^3.0@dev",
3030
"doctrine/doctrine-bundle": "^1.8|^2.0",
3131
"doctrine/orm": "^2.3",
3232
"friendsofphp/php-cs-fixer": "^3.0",
3333
"friendsoftwig/twigcs": "^4.1.0|^5.0.0",
34-
"symfony/http-client": "^4.3|^5.0",
35-
"symfony/phpunit-bridge": "^4.3|^5.0",
36-
"symfony/process": "^4.0|^5.0",
37-
"symfony/security-core": "^4.0|^5.0",
38-
"symfony/yaml": "^4.0|^5.0"
34+
"symfony/http-client": "^4.3|^5.0|^6.0",
35+
"symfony/phpunit-bridge": "^4.3|^5.0|^6.0",
36+
"symfony/process": "^4.0|^5.0|^6.0",
37+
"symfony/security-core": "^4.0|^5.0|^6.0",
38+
"symfony/yaml": "^4.0|^5.0|^6.0"
3939
},
4040
"config": {
4141
"preferred-install": "dist",

src/Test/MakerTestKernel.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\DependencyInjection\ContainerBuilder;
2121
use Symfony\Component\HttpKernel\Kernel;
2222
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
23-
use Symfony\Component\Routing\RouteCollectionBuilder;
2423

2524
class MakerTestKernel extends Kernel implements CompilerPassInterface
2625
{
@@ -35,15 +34,15 @@ public function __construct(string $environment, bool $debug)
3534
parent::__construct($environment, $debug);
3635
}
3736

38-
public function registerBundles()
37+
public function registerBundles(): iterable
3938
{
4039
return [
4140
new FrameworkBundle(),
4241
new MakerBundle(),
4342
];
4443
}
4544

46-
protected function configureRoutes(RouteCollectionBuilder $routes)
45+
protected function configureRoutes(RoutingConfigurator $routes)
4746
{
4847
}
4948

@@ -61,12 +60,12 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
6160
]);
6261
}
6362

64-
public function getProjectDir()
63+
public function getProjectDir(): string
6564
{
6665
return $this->getRootDir();
6766
}
6867

69-
public function getRootDir()
68+
public function getRootDir(): string
7069
{
7170
return $this->testRootDir;
7271
}

0 commit comments

Comments
 (0)