浏览代码

update bootstrap

euromark 11 年之前
父节点
当前提交
987acd04dd
共有 2 个文件被更改,包括 2 次插入6 次删除
  1. 1 5
      .scrutinizer.yml
  2. 1 1
      tests/bootstrap.php

+ 1 - 5
.scrutinizer.yml

@@ -3,19 +3,15 @@ imports:
 
 filter:
     excluded_paths:
-        - Test/
         - TestSuite/
 tools:
     php_mess_detector: true
     php_cpd:
         excluded_dirs:
-            - Test/
             - TestSuite/
     php_loc:
         excluded_dirs:
-            - Test/
             - TestSuite/
     php_pdepend:
         excluded_dirs:
-            1: Test/
-            2: TestSuite/
+            1: TestSuite/

+ 1 - 1
tests/bootstrap.php

@@ -17,7 +17,7 @@ function find_root() {
 }
 
 function find_app() {
-	if (is_dir(ROOT . '/src')) {
+	if (is_dir($root . '/src')) {
 		return 'src';
 	}
 	return 'App';