Passed
Push — master ( 1521da...7a2ab3 )
by Roeland
10:01
created
lib/private/App/CodeChecker/CodeChecker.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
 	const CLASS_IMPLEMENTS_NOT_ALLOWED = 1001;
41 41
 	const STATIC_CALL_NOT_ALLOWED = 1002;
42 42
 	const CLASS_CONST_FETCH_NOT_ALLOWED = 1003;
43
-	const CLASS_NEW_NOT_ALLOWED =  1004;
44
-	const OP_OPERATOR_USAGE_DISCOURAGED =  1005;
45
-	const CLASS_USE_NOT_ALLOWED =  1006;
46
-	const CLASS_METHOD_CALL_NOT_ALLOWED =  1007;
43
+	const CLASS_NEW_NOT_ALLOWED = 1004;
44
+	const OP_OPERATOR_USAGE_DISCOURAGED = 1005;
45
+	const CLASS_USE_NOT_ALLOWED = 1006;
46
+	const CLASS_METHOD_CALL_NOT_ALLOWED = 1007;
47 47
 
48 48
 	/** @var Parser */
49 49
 	private $parser;
@@ -88,13 +88,13 @@  discard block
 block discarded – undo
88 88
 		}
89 89
 
90 90
 		$excludes = array_map(function($item) use ($folder) {
91
-			return $folder . '/' . $item;
91
+			return $folder.'/'.$item;
92 92
 		}, $excludedDirectories);
93 93
 
94 94
 		$iterator = new RecursiveDirectoryIterator($folder, RecursiveDirectoryIterator::SKIP_DOTS);
95 95
 		$iterator = new RecursiveCallbackFilterIterator($iterator, function($item) use ($excludes){
96 96
 			/** @var SplFileInfo $item */
97
-			foreach($excludes as $exclude) {
97
+			foreach ($excludes as $exclude) {
98 98
 				if (substr($item->getPath(), 0, strlen($exclude)) === $exclude) {
99 99
 					return false;
100 100
 				}
Please login to merge, or discard this patch.