Completed
Push — master ( aa33b2...c5ca8d )
by Gabriel
02:08
created
src/Junty/Exception/JuntyException.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         return new JuntyFileNotFound();
23 23
     }
24 24
 
25
+    /**
26
+     * @param string $taskName
27
+     */
25 28
     public static function taskNotRegistred($taskName)
26 29
     {
27 30
         return new TaskNotRegistred($taskName);
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
src/Junty/Exception/TaskNotRegistred.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
 {
13 13
     public function __construct($task)
14 14
     {
15
-        parent::__construct((string) $task . ' is not a registred task.');
15
+        parent::__construct((string) $task.' is not a registred task.');
16 16
     }
17 17
 }
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
src/Junty/Exception/InvalidJuntyFileReturn.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
src/Junty/Exception/InvalidTaskType.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
src/Junty/Exception/JuntyFileNotFound.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
src/Junty/Stream/StreamHandler.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -196,20 +196,20 @@  discard block
 block discarded – undo
196 196
 
197 197
         foreach (
198 198
             glob(
199
-                dirname($pattern) . DIRECTORY_SEPARATOR . '*',
200
-                GLOB_ONLYDIR | GLOB_NOSORT
199
+                dirname($pattern).DIRECTORY_SEPARATOR.'*',
200
+                GLOB_ONLYDIR|GLOB_NOSORT
201 201
             )
202 202
             as $dir
203 203
         ) {
204 204
             $globs = array_merge(
205 205
                 $globs,
206 206
                 $this->recoursiveGlob(
207
-                    $dir . DIRECTORY_SEPARATOR . basename($pattern), $flags
207
+                    $dir.DIRECTORY_SEPARATOR.basename($pattern), $flags
208 208
                 )
209 209
             );
210 210
         }
211 211
 
212
-        $globs = array_filter($globs, function ($res) {
212
+        $globs = array_filter($globs, function($res) {
213 213
             return !is_dir($res);
214 214
         });
215 215
 
@@ -227,10 +227,10 @@  discard block
 block discarded – undo
227 227
     private function ignoreFiles(array $files, $patterns)
228 228
     {
229 229
         if (null !== $patterns) {
230
-            $cbFilter = function () {return true;};
230
+            $cbFilter = function() {return true; };
231 231
 
232 232
             if (is_array($patterns)) {
233
-                $cbFilter = function ($glob) use ($patterns) {
233
+                $cbFilter = function($glob) use ($patterns) {
234 234
                     foreach ($patterns as $pattern) {
235 235
                         if (preg_match($pattern, $glob)) {
236 236
                             return false;
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                     return true;
241 241
                 };
242 242
             } elseif (is_string($patterns)) {
243
-                $cbFilter = function ($glob) use ($patterns) {
243
+                $cbFilter = function($glob) use ($patterns) {
244 244
                     return !preg_match($patterns, $glob);
245 245
                 };
246 246
             }
Please login to merge, or discard this patch.
src/Junty/Runner/JuntyRunner.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Junty
4
- *
5
- * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
- * @license MIT License
7
- */
3
+     * Junty
4
+     *
5
+     * @author Gabriel Jacinto aka. GabrielJMJ <[email protected]>
6
+     * @license MIT License
7
+     */
8 8
  
9 9
 namespace Junty\Stream;
10 10
 
Please login to merge, or discard this patch.