Skip to content

Commit 649b4aa

Browse files
author
Olivier Dolbeau
authored
Merge pull request #346 from Jeroeny/symfony-5
allow symfony 5
2 parents ad30d76 + 7270ea7 commit 649b4aa

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
],
1212
"require": {
1313
"php": "^7.1",
14-
"symfony/framework-bundle": "^3.4 || ^4.0",
15-
"symfony/validator": "^3.4 || ^4.0",
16-
"symfony/translation": "^3.4 || ^4.0",
17-
"symfony/twig-bundle": "^3.4 || ^4.0",
18-
"symfony/finder": "^3.4 || ^4.0",
19-
"symfony/intl": "^3.4 || ^4.0",
14+
"symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0",
15+
"symfony/validator": "^3.4 || ^4.0 || ^5.0",
16+
"symfony/translation": "^3.4 || ^4.0 || ^5.0",
17+
"symfony/twig-bundle": "^3.4 || ^4.0 || ^5.0",
18+
"symfony/finder": "^3.4 || ^4.0 || ^5.0",
19+
"symfony/intl": "^3.4 || ^4.0 || ^5.0",
2020

2121
"php-translation/common": "^1.0",
2222
"php-translation/symfony-storage": "^1.0",
@@ -25,17 +25,17 @@
2525
"twig/twig": "^1.42 || ^2.11"
2626
},
2727
"require-dev": {
28-
"symfony/phpunit-bridge": "^4.4",
28+
"symfony/phpunit-bridge": "^4.4 || ^5.0",
2929
"php-translation/translator": "^1.0",
3030
"php-http/curl-client": "^1.7",
3131
"php-http/message": "^1.6",
3232
"php-http/message-factory": "^1.0.2",
33-
"symfony/console": "^3.4 || ^4.0",
34-
"symfony/twig-bridge": "^3.4 || ^4.0",
35-
"symfony/asset": "^3.4 || ^4.0",
36-
"symfony/templating": "^3.4 || ^4.0",
37-
"symfony/dependency-injection": "^3.4 || ^4.0",
38-
"symfony/web-profiler-bundle": "^3.4 || ^4.0",
33+
"symfony/console": "^3.4 || ^4.0 || ^5.0",
34+
"symfony/twig-bridge": "^3.4 || ^4.0 || ^5.0",
35+
"symfony/asset": "^3.4 || ^4.0 || ^5.0",
36+
"symfony/templating": "^3.4 || ^4.0 || ^5.0",
37+
"symfony/dependency-injection": "^3.4 || ^4.0 || ^5.0",
38+
"symfony/web-profiler-bundle": "^3.4 || ^4.0 || ^5.0",
3939
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
4040
"matthiasnoback/symfony-config-test": "^4.0",
4141
"nyholm/psr7": "^1.1",

phpstan.neon.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ parameters:
3333
-
3434
path: %currentWorkingDirectory%/Command
3535
message: '#Call to an undefined method Symfony\\Component\\Console\\Application::getKernel()#'
36+
-
37+
path: %currentWorkingDirectory%/Controller/WebUIController.php
38+
message: '#Call to an undefined static method Symfony\\Component\\Intl\\Intl::getLocaleBundle()#'
39+
-
40+
path: %currentWorkingDirectory%/DependencyInjection/Configuration.php
41+
message: '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder::root()#'

0 commit comments

Comments
 (0)