Skip to content

Commit d3e86aa

Browse files
authored
Merge pull request #20 from higidi/php_8
FEATURE: Make bundle php >= 8 compatible
2 parents 042f064 + 60596da commit d3e86aa

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- "7.2"
2222
- "7.3"
2323
- "7.4"
24+
- "8.0"
25+
- "8.1"
26+
- "8.2"
2427
dependencies:
2528
- "highest"
2629
stability:
@@ -29,14 +32,12 @@ jobs:
2932
- "4.4.*"
3033
- "5.4.*"
3134
symfony-deprecations-helper:
32-
- ""
35+
- "weak"
3336
include:
3437
# Tests the lowest set of dependencies
3538
- dependencies: "lowest"
3639
stability: "stable"
3740
php-version: "7.2"
38-
symfony-deprecations-helper: "weak"
39-
4041
steps:
4142
- name: "Checkout"
4243
uses: "actions/checkout@v2"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
composer.lock
3+
.phpunit.result.cache

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2",
13+
"php": "^7.2|^8",
1414
"php-vcr/php-vcr": "^1.5",
1515
"symfony/config": "^4|^5",
1616
"symfony/dependency-injection": "^4|^5",
@@ -21,8 +21,8 @@
2121
"symfony/yaml": "^4|^5"
2222
},
2323
"require-dev": {
24-
"neutron/temporary-filesystem": "^2.3",
25-
"phpunit/phpunit": "^7.5",
24+
"neutron/temporary-filesystem": "^3",
25+
"phpunit/phpunit": "^8.5",
2626
"symfony/framework-bundle": "^4.4|^5.4",
2727
"symfony/phpunit-bridge": "^4.4|^5.4"
2828
},

phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
</testsuite>
1010
</testsuites>
1111

12+
<php>
13+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
14+
</php>
15+
1216
<filter>
1317
<whitelist>
1418
<directory>src</directory>

0 commit comments

Comments
 (0)