Skip to content

Commit 797b8cd

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 0c0c6d2 commit 797b8cd

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
"contao/core-bundle": "self.version",
2020
"patchwork/utf8": "^1.2",
2121
"symfony/config": "4.4.*",
@@ -30,7 +30,7 @@
3030
"require-dev": {
3131
"contao/manager-plugin": "^2.3.1",
3232
"contao/test-case": "^4.0",
33-
"phpunit/phpunit": "^8.4",
33+
"phpunit/phpunit": "^8.5",
3434
"symfony/http-client": "4.4.*",
3535
"symfony/phpunit-bridge": "4.4.*"
3636
},

0 commit comments

Comments
 (0)