Skip to content

Commit 2cda2db

Browse files
Fix symfony 5 compatibility
1 parent dc7e9ff commit 2cda2db

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ before_script:
2626
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-dist; fi
2727
- if [[ "$PACKAGE_VERSION" == "low" ]]; then composer update --prefer-lowest --prefer-dist; fi
2828

29-
script: vendor/bin/phpunit
29+
script: vendor/bin/simple-phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"symfony/console": "^2.8 || ^3.4 || ^4.0 || ^5.0"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "^5.7",
17+
"symfony/phpunit-bridge": "^5.0.4",
1818
"jackalope/jackalope-fs": "0.0.*",
1919
"handcraftedinthealps/zendsearch": "^2.0"
2020
},

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
colors="true"
66
bootstrap="vendor/autoload.php"
77
>
8+
<php>
9+
<env name="SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT" value="1"/>
10+
</php>
811

912
<testsuites>
1013
<testsuite name="PHPCR migrations Test Suite">

0 commit comments

Comments
 (0)