From 14ca4f545d1afccc8386dce27f54709df580f3a4 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 1 Oct 2019 13:28:38 +0100 Subject: [PATCH] stub config so scrutinizer stops complaining about missing define()s --- .scrutinizer.yml | 5 ++++- tests/defines.php | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 tests/defines.php diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 2153fcbe..8a3a5db6 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -3,12 +3,15 @@ imports: - php filter: - excluded_paths: [ext/*/lib/*,ext/tagger/script.js,ext/chatbox/*] + excluded_paths: [ext/*/lib/*,ext/tagger/script.js,tests/*] build: nodes: analysis: tests: + before: + - mkdir -p data/config + - cp tests/defines.php data/config/shimmie.conf.php override: - php-scrutinizer-run diff --git a/tests/defines.php b/tests/defines.php new file mode 100644 index 00000000..4db8a105 --- /dev/null +++ b/tests/defines.php @@ -0,0 +1,23 @@ +