Browse Source

update bootstrap

euromark 11 years ago
parent
commit
987acd04dd
2 changed files with 2 additions and 6 deletions
  1. 1 5
      .scrutinizer.yml
  2. 1 1
      tests/bootstrap.php

+ 1 - 5
.scrutinizer.yml

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

+ 1 - 1
tests/bootstrap.php

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