Skip to content

Commit

Permalink
[Tests] Restricted doctrine/dbal to versions <2.10.0
Browse files Browse the repository at this point in the history
The 2.10.0 release of doctrine/dbal introduced strict return types
on e.g. QueryBuilder. Unfortunately old PHPUnit 4.8.x can't handle
mocking of such classes properly.
  • Loading branch information
alongosz committed Nov 5, 2019
1 parent f41d676 commit dd16959
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"twig/twig": "~1.35|~2.4"
},
"require-dev": {
"doctrine/dbal": "<2.10.0",
"friendsofphp/php-cs-fixer": "2.15.3",
"phpunit/phpunit": "^4.8.35",
"matthiasnoback/symfony-dependency-injection-test": "~0.7.6",
Expand Down

0 comments on commit dd16959

Please sign in to comment.