stub config so scrutinizer stops complaining about missing define()s

autocomplete
Shish 3 years ago
parent 12d77da449
commit 14ca4f545d
  1. 5
      .scrutinizer.yml
  2. 23
      tests/defines.php

@ -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

@ -0,0 +1,23 @@
<?php
define("DATABASE_DSN", null);
define("DATABASE_KA", true);
define("DATABASE_TIMEOUT", 10000);
define("CACHE_DSN", null);
define("DEBUG", false);
define("COVERAGE", false);
define("CACHE_HTTP", false);
define("COOKIE_PREFIX", 'shm');
define("SPEED_HAX", false);
define("COMPILE_ELS", false);
define("NICE_URLS", false);
define("SEARCH_ACCEL", false);
define("WH_SPLITS", 1);
define("VERSION", '2.8-dev');
define("TIMEZONE", null);
define("EXTRA_EXTS", "");
define("BASE_URL", null);
define("MIN_PHP_VERSION", '7.3');
define("TRACE_FILE", null);
define("TRACE_THRESHOLD", 0.0);
define("ENABLED_MODS", "imageboard");
define("SCORE_VERSION", 'develop/'.VERSION);
Loading…
Cancel
Save