8000 feature #24 Allowed PHP 8.0 in composer.json and enabled Travis build… · symfony/acl-bundle@0aa31bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0aa31bd

Browse files
committed
feature #24 Allowed PHP 8.0 in composer.json and enabled Travis builds on PHP 8.0 (anyt)
This PR was squashed before being merged into the 2.0-dev branch. Discussion ---------- Allowed PHP 8.0 in composer.json and enabled Travis builds on PHP 8.0 Allowed PHP 8.0 in composer.json and enabled Travis builds on PHP 8.0. Also, to make tests green, locked the doctrine/dbal package to ~2.2 (the same version is used in https://github.com/symfony/security-acl/blob/main/composer.json#L26) because the symfony/security-acl is not compatible with doctrine/dbal 3.0 yet. Commits ------- b257792 Allowed PHP 8.0 in composer.json and enabled Travis builds on PHP 8.0
2 parents ed1e87a + b257792 commit 0aa31bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ matrix:
2020
- COMPOSER_FLAGS="--prefer-lowest"
2121

2222
# Test latest php with LTS versions.
23-
- php: 7.4
23+
- php: 8.0
2424
env: SYMFONY_REQUIRE='^4.4'
2525

2626
# Test the latest stable release
2727
- php: 7.2
2828
- php: 7.3
2929
- php: 7.4
30+
- php: 8.0
3031

3132
before_install:
3233
- composer global require symfony/flex

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.2.9",
19+
"php": ">=7.2.9",
2020
"ext-xml": "*",
2121
"symfony/dependency-injection": "^4.4|^5.0",
2222
"symfony/http-kernel": "^4.4|^5.0",
@@ -25,6 +25,7 @@
2525
},
2626
"require-dev": {
2727
"doctrine/doctrine-bundle": "^1.6.12|^2.0",
28+
"doctrine/dbal": "~2.2",
2829
"symfony/console": "^4.4|^5.0",
2930
"symfony/framework-bundle": "^4.4|^5.0",
3031
"symfony/phpunit-bridge": "^5.0",

0 commit comments

Comments
 (0)
0