Skip to content

Commit 9dab43e

Browse files
committed
Merge tag 'v1.0.8'
Release 1.0.8: Setup process with php cs-fixer
2 parents 6af1720 + a3a7190 commit 9dab43e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.idea/gitmvc.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rcarvello/webmvcframework",
3-
"description": "PHP Web MVC Framework",
3+
"description": "PHP Web MVC Framework.",
44
"type": "project",
55
"license": "MIT",
66
"homepage": "https://github.com/rcarvello/webmvcframework",
@@ -23,19 +23,23 @@
2323
"ext-pdo": "*"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^10.5"
26+
"phpunit/phpunit": "^10.5 || ^11.0"
27+
},
28+
"suggest": {
29+
"phpunit/phpunit": "Install PHPUnit (PHP >= 8.0) to enable running tests"
2730
},
2831
"scripts": {
2932
"dev": [
3033
"Composer\\Config::disableProcessTimeout",
3134
"node start-dev.js"
3235
],
3336
"test": [
34-
"@php vendor/bin/phpunit"
37+
"@php vendor/bin/phpunit --display-all-issues --testdox"
3538
],
3639
"post-create-project-cmd": [
3740
"npm install",
38-
"php post-setup-info.php"
41+
"php post-setup-info.php",
42+
"@php -r \"if (PHP_VERSION_ID >= 80000) { echo 'Installing dev dependencies (PHPUnit)...\\n'; passthru('composer install --no-interaction --prefer-dist --dev'); } else { echo 'Skipping PHPUnit installation: requires PHP >= 8.0\\n'; }\""
3943
]
4044
},
4145
"scripts-descriptions": {

0 commit comments

Comments
 (0)