Skip to content

Commit 48c603c

Browse files
blankseausi
andauthored
PHP 8.0 Compatibility (#457)
Ignore platform requirements for PHP 8 to be able to install jackalope-doctrine-dbal. That one is not tested and released for PHP 8 yet. Co-authored-by: Martin Auswöger <[email protected]>
1 parent 898f77a commit 48c603c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ matrix:
4040
env: SYMFONY_REQUIRE=4.4.*
4141
- php: 7.4
4242
env: SYMFONY_REQUIRE=5.0.*
43+
# PHP 8.0 (Travis does not yet support using the stable 8.0.0)
44+
- php: nightly
45+
env: SYMFONY_REQUIRE=5.2.* COMPOSER_FLAGS="--ignore-platform-req=php"
4346
fast_finish: true
4447
allow_failures:
4548

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.2",
18+
"php": "^7.2 || ^8.0",
1919
"symfony-cmf/routing": "^2.3.0",
2020
"symfony/framework-bundle": "^4.4 || ^5.0",
2121
"twig/twig": "^2.4.4 || ^3.0"
2222
},
2323
"require-dev": {
24-
"jackalope/jackalope-doctrine-dbal": "^1.3",
24+
"jackalope/jackalope-doctrine-dbal": "^1.3",
2525
"doctrine/phpcr-odm": "^1.4|^2.0",
2626
"symfony/phpunit-bridge": "^5.0",
2727
"matthiasnoback/symfony-dependency-injection-test": "^4.1.0",

0 commit comments

Comments
 (0)