Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 18, 2023
1 parent add9e79 commit cdcc241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"composer-runtime-api": "^2.2",
"illuminate/console": "^9.52.15 || ^10.17.0",
"illuminate/support": "^9.52.15 || ^10.17.0",
"orchestra/testbench-core": "^7.28.3 || ^8.8.3"
"orchestra/testbench-core": "^7.28.4 || ^8.8.4"
},
"require-dev": {
"fakerphp/faker": "^1.21",
Expand All @@ -47,14 +47,13 @@
"@composer run clear",
"@composer run prepare"
],
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"ci": [
"@composer audit",
"@composer run prepare",
"@composer run lint"
],
"test": "@php vendor/bin/phpunit -c ./ --color",
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build",
"serve": [
"@composer run clear",
Expand All @@ -66,8 +65,9 @@
"@composer run prepare",
"@php vendor/bin/pint",
"@php vendor/bin/phpstan analyse"
]
],
"test": "@php vendor/bin/phpunit"
},
"prefer-stable": true,
"minimum-stability": "dev"
}
}
2 changes: 1 addition & 1 deletion src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected function appendScriptsToComposer(array $content): array
if (! \array_key_exists('test', $content['scripts'])) {
$content['scripts']['test'] = InstalledVersions::isInstalled('pestphp/pest')
? '@php vendor/bin/pest'
: '@php vendor/bin/phpunit -c ./ --color';
: '@php vendor/bin/phpunit';
}
}

Expand Down

0 comments on commit cdcc241

Please sign in to comment.