Skip to content

Commit cc150cb

Browse files
committed
Test PHP 7.4 and sync PHP requirements with what we actually test in CI
1 parent 531ebc6 commit cc150cb

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.travis.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,13 @@ matrix:
1212
- php: 7.2
1313
- php: 7.2
1414
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
15-
- php: 7.3
16-
env: COVERAGE='--coverage-clover build/logs/clover.xml'
1715
- php: 7.3
1816
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
19-
- php: 7.4snapshot
20-
- php: 7.4snapshot
21-
env: COMPOSER_DEV_STABILITY=true
22-
- php: 7.4snapshot
17+
- php: 7.4
18+
- php: 7.4
2319
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
24-
- php: nightly
25-
- php: nightly
26-
env: COMPOSER_DEV_STABILITY=true
27-
- php: nightly
28-
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
29-
allow_failures:
30-
- php: 7.4snapshot
31-
- php: nightly
20+
- php: 7.4
21+
env: COVERAGE='--coverage-clover build/logs/clover.xml'
3222

3323
before_script:
3424
- |

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^5.6|^7.0",
13+
"php": "^5.6|^7.1",
1414
"symfony/lock": "^3.4|^4.0|^5.0",
1515
"symfony/cache": "^3.4|^4.0|^5.0",
1616
"symfony/http-foundation": "^3.0|^4.0|^5.0",

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
bootstrap="vendor/autoload.php"
1212
>
1313
<php>
14-
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
14+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0" />
1515
</php>
1616
<testsuites>
1717
<testsuite name="PSR-6 HttpCache Store Test Suite">

0 commit comments

Comments
 (0)