Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Add support for symfony 5
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Dec 17, 2019
1 parent 2682661 commit b3bbd18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@
"psr/http-message": "^1.0",
"sonata-project/block-bundle": "^4.0",
"sonata-project/form-extensions": "^1.0",
"symfony/config": "^4.2",
"symfony/dependency-injection": "^4.2",
"symfony/expression-language": "^4.2",
"symfony/form": "^4.2",
"symfony/framework-bundle": "^4.2",
"symfony/http-foundation": "^4.2",
"symfony/http-kernel": "^4.2",
"symfony/options-resolver": "^4.2",
"symfony/twig-bundle": "^4.2"
"symfony/config": "^4.2 || ^5.0",
"symfony/dependency-injection": "^4.2 || ^5.0",
"symfony/expression-language": "^4.2 || ^5.0",
"symfony/form": "^4.2 || ^5.0",
"symfony/framework-bundle": "^4.2 || ^5.0",
"symfony/http-foundation": "^4.2 || ^5.0",
"symfony/http-kernel": "^4.2 || ^5.0",
"symfony/options-resolver": "^4.2 || ^5.0",
"symfony/twig-bundle": "^4.2 || ^5.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.3",
"localheinz/composer-normalize": "^1.3",
"nyholm/psr7": "^1.0",
"symfony/cache": "^3.4 || ^4.2",
"symfony/http-client": "^3.4 || ^4.2"
"symfony/cache": "^4.2 || ^5.0",
"symfony/http-client": "^4.2 || ^5.0"
},
"config": {
"sort-packages": true
Expand Down
5 changes: 0 additions & 5 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ parameters:
count: 1
path: src/Backend/PsrBackend.php

-
message: "#^Call to an undefined method Twig\\\\Environment::expects\\(\\)\\.$#"
count: 1
path: tests/Block/Service/ShariffShareBlockServiceTest.php

-
message: "#^PHPDoc tag @throws with type Psr\\\\Cache\\\\InvalidArgumentException is not subtype of Throwable$#"
count: 1
Expand Down

0 comments on commit b3bbd18

Please sign in to comment.