Skip to content

Commit fac85f7

Browse files
authored
Add compatibility with PHP 8 (see #2535)
Description ----------- See #2263 and #2291 ### TODO * [x] Fix the tests. * [x] Wait if sebastianbergmann/php-code-coverage#837 gets merged and then use PHPUnit 8.5 for all PHP versions. * [ ] <del>Click through the back end and front end and fix all warnings.</del> Commits ------- 8ad61492 Add PHP 8.0 to the CI chain 7b8729e5 Fix the unit and functional tests 47c14dbb Use 127.0.0.1 instead of localhost in the functional tests 938836c0 Always set the ACCEPT_LANGUAGE header in the functional tests a4199ec2 Use PHPUnit 8.5 for all PHP versions 7ffbd267 Adjust the error level in PHP 8 4ce6b27b Merge branch '4.9' into fix/php8
1 parent 4498d40 commit fac85f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.2",
18+
"php": "^7.2 || ^8.0",
1919
"ext-json": "*",
2020
"contao/core-bundle": "self.version",
2121
"contao/installation-bundle": "self.version",
@@ -59,7 +59,7 @@
5959
"require-dev": {
6060
"composer/composer": "^1.0",
6161
"contao/test-case": "^4.0",
62-
"phpunit/phpunit": "^8.4",
62+
"phpunit/phpunit": "^8.5",
6363
"symfony/phpunit-bridge": "4.4.*"
6464
},
6565
"conflict": {

0 commit comments

Comments
 (0)