Skip to content

Commit

Permalink
Merge pull request #33 from Roave/adds-php74-support
Browse files Browse the repository at this point in the history
Updated dependencies and widen compatibility to include PHP 7.4
  • Loading branch information
Ocramius authored Oct 23, 2019
2 parents 1ad494f + ec82069 commit 1655991
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.lock
phpunit.xml
infection.json
infection-log.txt
.phpunit.result.cache
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: php

php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot

env:
matrix:
Expand All @@ -29,15 +29,15 @@ jobs:
env: COMPOSER_FLAGS="--ignore-platform-reqs"

- stage: test with coverage
php: 7.1
php: 7.3
env: COMPOSER_FLAGS=""
before_install: skip
script: vendor/bin/phpunit --colors --coverage-clover=clover.xml --coverage-text
after_success:
- wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover clover.xml

- stage: infection
php: 7.1
php: 7.3
env: COMPOSER_FLAGS=""
before_install: skip
script: vendor/bin/infection --log-verbosity=none --threads=4 --min-covered-msi=68 --min-msi=68
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
"description": "Doctrine Cache adapter for PSR-16 Simple Cache",
"type": "library",
"require": {
"php": "^7.1,<7.4",
"php": "^7.2,<7.5",
"doctrine/cache": "^1.7",
"psr/simple-cache": "^1.0"
},
"require-dev": {
"cache/integration-tests": "dev-master#05f9717",
"cache/tag-interop": "dev-master#992b7ed",
"phpunit/phpunit": "^6.5 || ^7.0",
"infection/infection": "^0.11.2",
"symfony/console": "^3.4 || ^4.2"
"cache/integration-tests": "dev-master",
"cache/tag-interop": "dev-master",
"infection/infection": "^0.14.2",
"phpunit/phpunit": "^8.4",
"symfony/console": "^4.3",
"symfony/phpunit-bridge": "^4.4@dev"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 1655991

Please sign in to comment.