Skip to content

Commit 35850f3

Browse files
committed
chore(composer): req php>=8.0, bump phpunit, add test scripts
1 parent a994d44 commit 35850f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
}
2323
},
2424
"require": {
25-
"php": ">=5.4.0"
25+
"php": ">=8.0"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^4.8.0|^5.7.0|^6.5"
28+
"phpunit/phpunit": "^9.5"
2929
},
3030
"config": {
3131
"optimize-autoloader": true,
@@ -34,8 +34,7 @@
3434
}
3535
},
3636
"scripts": {
37-
"post-root-package-install": [
38-
],
39-
"test": "vendor/bin/phpunit"
37+
"test": "vendor/bin/phpunit",
38+
"test:cov": "phpunit --coverage-text --coverage-clover coverage.xml"
4039
}
4140
}

0 commit comments

Comments
 (0)