Completed
Push — master ( 5cae76...d7f09f )
by Ivannis Suárez
07:20
created
src/Cubiche/Tools/GitUtils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @param string $pattern
44 44
      *
45
-     * @return Generator
45
+     * @return \Generator
46 46
      */
47 47
     public static function commitedFiles($pattern = self::PHP_FILES)
48 48
     {
Please login to merge, or discard this patch.
src/Cubiche/Tools/CodeQualityTool.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Console\Input\InputInterface;
16 16
 use Symfony\Component\Console\Output\OutputInterface;
17 17
 use Symfony\Component\Process\ProcessBuilder;
18
-use Symfony\Component\Yaml\Yaml;
19 18
 
20 19
 /**
21 20
  * CodeQualityTool.
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 
219 219
                 $test = $processBuilder->getProcess();
220 220
                 $test->run(
221
-                    function ($type, $buffer) {
221
+                    function($type, $buffer) {
222 222
                         $this->output->write($buffer);
223 223
                     }
224 224
                 );
@@ -246,8 +246,8 @@  discard block
 block discarded – undo
246 246
         $succeed = true;
247 247
         $config = ConfigUtils::getConfig('phpcsfixer', array(
248 248
             'fixers' => [
249
-                '-psr0','eof_ending','indentation','linefeed','lowercase_keywords','trailing_spaces', 'short_tag',
250
-                'php_closing_tag','extra_empty_lines','elseif','function_declaration', '-phpdoc_scalar', '-phpdoc_types'
249
+                '-psr0', 'eof_ending', 'indentation', 'linefeed', 'lowercase_keywords', 'trailing_spaces', 'short_tag',
250
+                'php_closing_tag', 'extra_empty_lines', 'elseif', 'function_declaration', '-phpdoc_scalar', '-phpdoc_types'
251 251
             ],
252 252
             'triggered_by' => 'php'
253 253
         ));
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 
320 320
             $processBuilder->setWorkingDirectory(getcwd());
321 321
             $phpCsFixer = $processBuilder->getProcess();
322
-            $phpCsFixer->run(function ($type, $buffer) {
322
+            $phpCsFixer->run(function($type, $buffer) {
323 323
                 $this->output->write($buffer);
324 324
             });
325 325
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 
337 337
                 $processBuilder->setWorkingDirectory(getcwd());
338 338
                 $phpCsFixer = $processBuilder->getProcess();
339
-                $phpCsFixer->run(function ($type, $buffer) {
339
+                $phpCsFixer->run(function($type, $buffer) {
340 340
                     $this->output->write($buffer);
341 341
                 });
342 342
 
Please login to merge, or discard this patch.
src/Cubiche/Tools/CodeStyle/CSFixCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
     {
53 53
         $config = ConfigUtils::getConfig('phpcsfixer', array(
54 54
             'fixers' => [
55
-                '-psr0','eof_ending','indentation','linefeed','lowercase_keywords','trailing_spaces', 'short_tag',
56
-                'php_closing_tag','extra_empty_lines','elseif','function_declaration', '-phpdoc_scalar', '-phpdoc_types'
55
+                '-psr0', 'eof_ending', 'indentation', 'linefeed', 'lowercase_keywords', 'trailing_spaces', 'short_tag',
56
+                'php_closing_tag', 'extra_empty_lines', 'elseif', 'function_declaration', '-phpdoc_scalar', '-phpdoc_types'
57 57
             ]
58 58
         ));
59 59
 
Please login to merge, or discard this patch.