Skip to content

Commit

Permalink
upgrade deps to support php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk authored Feb 27, 2021
1 parent badc349 commit 6d34b50
Show file tree
Hide file tree
Showing 5 changed files with 589 additions and 172 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: php

php:
- 7.0
- 7.1
- 7.3
- 7.4
- 8.0

before_script:
- 'composer install --dev --prefer-source'

script: php test/test.php
script: php -d xdebug.mode=coverage test/test.php

after_script:
- if [ $(phpenv version-name) = "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ $(phpenv version-name) = "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover test/build/clover.xml; fi
- if [ $(phpenv version-name) = "7.4" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ $(phpenv version-name) = "7.4" ]; then php ocular.phar code-coverage:upload --format=php-clover test/build/clover.xml; fi
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ of dependency injection containers compliant with [container-interop](https://gi

To upgrade between major releases, please see [UPGRADING.md](UPGRADING.md).

[![PHP Version](https://img.shields.io/badge/php-7.0%2B-blue.svg)](https://packagist.org/packages/mindplay/middleman)
[![PHP Version](https://img.shields.io/badge/php-7.3%2B-blue.svg)](https://packagist.org/packages/mindplay/middleman)
[![Build Status](https://travis-ci.org/mindplay-dk/middleman.svg?branch=master)](https://travis-ci.org/mindplay-dk/middleman)
[![Code Coverage](https://scrutinizer-ci.com/g/mindplay-dk/middleman/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/middleman/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mindplay-dk/middleman/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/middleman/?branch=master)
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=7.0",
"php": "^7.3 || ^8.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
Expand All @@ -19,10 +19,10 @@
"mindplay/readable": "^1"
},
"require-dev": {
"mindplay/testies": "^0.2.0",
"phpunit/php-code-coverage": "^2.2",
"mindplay/testies": "^1.0",
"phpunit/php-code-coverage": "^9.2.5",
"container-interop/container-interop": "^1.2",
"mockery/mockery": "^0.9.4"
"nyholm/psr7": "^1.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 6d34b50

Please sign in to comment.