1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00

Add status command (#1329)

* Build the foundation of a status command

* Apply fixes from StyleCI

* Wip testing status command

* Apply fixes from StyleCI

* Fix status test

* Apply fixes from StyleCI

* Fix race condition in creating test config file

* Apply fixes from StyleCI

* Reset container for each test

* Differentiate response code based on success or failure of status command

* Apply fixes from StyleCI

* Add the ability to test if a Brew service is running

* Apply fixes from StyleCI

* Check for more services running in status command

* Apply fixes from StyleCI

* Test Status

* Apply fixes from StyleCI

* Drop Yoast from base application test case

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Matt Stauffer
2023-01-05 16:40:27 -05:00
committed by GitHub
parent a79128200b
commit 0c57391eed
9 changed files with 290 additions and 15 deletions

View File

@@ -31,7 +31,12 @@ public function onEveryRun(): void
*/
public function pruneMissingDirectories(): void
{
Configuration::prune();
try {
Configuration::prune();
} catch (\JsonException $e) {
warning('Invalid confiuration file at '.Configuration::path().'.');
exit;
}
}
/**