Skip to content

Commit c475d16

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 48f73ca commit c475d16

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
"doctrine/dbal": "^2.10",
2121
"patchwork/utf8": "^1.2",
@@ -37,7 +37,7 @@
3737
},
3838
"require-dev": {
3939
"contao/manager-plugin": "^2.3.1",
40-
"phpunit/phpunit": "^8.4",
40+
"phpunit/phpunit": "^8.5",
4141
"symfony/http-client": "4.4.*",
4242
"symfony/phpunit-bridge": "4.4.*"
4343
},

0 commit comments

Comments
 (0)