Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for symfony 5 #40

Merged
merged 5 commits into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,16 @@ matrix:
env: COMPOSER_FLAGS="--prefer-lowest"
- stage: test
php: 7.3
env: SYMFONY_VERSION=3.4.*
env: SYMFONY_VERSION=4.2.*
- stage: test
php: 7.3
env: SYMFONY_VERSION=4.2.*
env: SYMFONY_VERSION=4.3.*
- stage: test
php: 7.3
env: SYMFONY_VERSION=4.4.*
- stage: test
php: 7.3
env: SYMFONY_VERSION=5.0.*
allow_failures:
- php: 7.3
env: TARGET=checkdeps
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"require": {
"php": "^7.2",
"dompdf/dompdf": "^0.7 || ^0.8",
"symfony/config": "^3.4 || ^4.2",
"symfony/dependency-injection": "^3.4 || ^4.2",
"symfony/event-dispatcher-contracts": "^1.1",
"symfony/expression-language": "^3.4 || ^4.2",
"symfony/framework-bundle": "^3.4 || ^4.2",
"symfony/http-foundation": "^3.4 || ^4.2",
"symfony/http-kernel": "^3.4 || ^4.2"
"symfony/config": "^4.2 || ^5.0",
"symfony/dependency-injection": "^4.2 || ^5.0",
"symfony/event-dispatcher-contracts": "^1.1 || ^2.0",
"symfony/expression-language": "^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"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.2",
Expand Down
3 changes: 0 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ parameters:
- '#Cannot call method defaultValue\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'
- "/Call to function method_exists.. with 'Symfony.+' and 'getRootNode' will always evaluate to false./"

# Symfony Contracts
- '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 1 required.#'

# PHPUnit
-
message: '#Property .*::\$.* has no typehint specified.#'
Expand Down