Passed
Branchmaster (fdc5d2)
by Thomas
03:17
created
src/Str/Str.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $output = [];
130 130
         foreach ($phrase as $item) {
131 131
             $e = explode($item, $string);
132
-            array_pop($e);//remove the rest of string entry
132
+            array_pop($e); //remove the rest of string entry
133 133
             $output[$item] = $e;
134 134
         }
135 135
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $output = [];
156 156
         foreach ($phrase as $item) {
157 157
             $e = explode($item, $string);
158
-            array_shift($e);//remove the first item always
158
+            array_shift($e); //remove the first item always
159 159
             $output[$item] = $e;
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Discovery/FindByNamespace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             if (T_CLASS === $tokens[$index][0]) {
67 67
                 $index += 2; // Skip class keyword and whitespace
68 68
                 if (is_array($tokens[$index]) && array_key_exists(1, $tokens[$index])) {
69
-                    $this->data[] = $namespace . '\\' . $tokens[$index][1];
69
+                    $this->data[] = $namespace.'\\'.$tokens[$index][1];
70 70
                 }
71 71
             }
72 72
         }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     protected function filterData($needle)
77 77
     {
78
-        return array_values(array_filter($this->data, function ($var) use ($needle) {
78
+        return array_values(array_filter($this->data, function($var) use ($needle) {
79 79
             if (strpos($var, $needle) !== false) {
80 80
                 return true;
81 81
             }
Please login to merge, or discard this patch.
src/Object/Instantiate.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
      * @package twhiston\twLib\Object
17 17
      */
18 18
 /**
19
- * Class Instantiate
20
- * @package twhiston\twLib\Object
21
- */
19
+     * Class Instantiate
20
+     * @package twhiston\twLib\Object
21
+     */
22 22
 class Instantiate
23 23
 {
24 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 //        }
43 43
 
44 44
         if ($namespace !== null) {
45
-            $class = $namespace . $class;
45
+            $class = $namespace.$class;
46 46
         }
47 47
 
48 48
         try {
Please login to merge, or discard this patch.