From f36800dc9b94b528f95c4de628c3919f92963822 Mon Sep 17 00:00:00 2001 From: Adam Pippin Date: Fri, 1 May 2020 13:30:25 -0700 Subject: [PATCH] phan ignore old app/system code for now; ignore missing .githooks to fix build process --- .phan/config.php | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.phan/config.php b/.phan/config.php index 1c84616..633fccb 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -17,6 +17,7 @@ return [ 'exclude_analysis_directory_list' => [ 'vendor/', + 'app/System/', '.phan/stubs/' ], diff --git a/composer.json b/composer.json index 137cad7..e91a636 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ "post-create-project-cmd": [ "@php application app:rename" ], - "post-autoload-dump": "cp .githooks/* .git/hooks" + "post-autoload-dump": "if [ -d .githooks ]; then cp .githooks/* .git/hooks; fi" }, "minimum-stability": "dev", "prefer-stable": true,