Skip to content

Commit c06cf38

Browse files
committed
make it work with PHP 8 and older versions of php-code-coverage
1 parent 51b1bb3 commit c06cf38

File tree

7 files changed

+119
-110
lines changed

7 files changed

+119
-110
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mindplay/testies
22
================
33

4-
[![PHP Version](https://img.shields.io/badge/php-8.1%2B-blue.svg)](https://packagist.org/packages/mindplay/testies)
4+
[![PHP Version](https://img.shields.io/badge/php-8.0%2B-blue.svg)](https://packagist.org/packages/mindplay/testies)
55

66
Yeah, testies: a lightweight library of functions for quick, simple unit-testing.
77

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1"
13+
"php": "^8.0"
1414
},
1515
"require-dev": {
16-
"phpunit/php-code-coverage": "^10.1.7",
16+
"phpunit/php-code-coverage": "^9 || ^10 || ^11",
1717
"nyholm/psr7": "^1.8",
1818
"zaphyr-org/http-client": "^1.0",
1919
"mindplay/readable": "^1.2"
2020
},
2121
"suggest": {
22-
"phpunit/php-code-coverage": "^10 || ^11"
22+
"phpunit/php-code-coverage": "^9 || ^10 || ^11"
2323
},
2424
"autoload": {
2525
"files": ["src/test.func.php"],

0 commit comments

Comments
 (0)