Passed
Push — fix-FRAM-102-disallow-using-sa... ( a4f1ec )
by Vincent
20:15
created
src/Query/Compiler/CompilerState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         //TODO quand doit on unset l'index '0' ?
59 59
 
60
-        foreach ((array)$parts as $part) {
60
+        foreach ((array) $parts as $part) {
61 61
             unset($this->bindings[$part]);
62 62
             unset($this->compiledParts[$part]);
63 63
         }
Please login to merge, or discard this patch.
src/Query/Compiler/AliasResolver/AliasResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -398,7 +398,7 @@
 block discarded – undo
398 398
             }
399 399
 
400 400
             // If we have polymophism, add to alias
401
-            $relation->join($this->query, $alias . (isset($relationName[1]) ? '#' . $relationName[1] : ''));
401
+            $relation->join($this->query, $alias.(isset($relationName[1]) ? '#'.$relationName[1] : ''));
402 402
             $relation->setLocalAlias(null);
403 403
         }
404 404
 
Please login to merge, or discard this patch.
src/Console/UpgraderCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             $io->newLine();
103 103
         }
104 104
 
105
-        $io->info('Found ' . $nbWarning . ' upgrade(s)');
105
+        $io->info('Found '.$nbWarning.' upgrade(s)');
106 106
 
107 107
         return 0;
108 108
     }
Please login to merge, or discard this patch.
src/Console/EntityCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -173,16 +173,16 @@
 block discarded – undo
173 173
 
174 174
                     if ($io->option('backup') && $filesystem->exists($fileName)) {
175 175
                         $filesystem->copy($fileName, $fileName.'.bak');
176
-                        $io->comment('backup file "' . $fileName.'.bak' . '"');
176
+                        $io->comment('backup file "'.$fileName.'.bak'.'"');
177 177
                     }
178 178
                     
179 179
                     $filesystem->dumpFile($fileName, $generator->generate($mapper, $fileName));
180 180
 
181
-                    $io->info('File "' . $fileName . '" was created');
181
+                    $io->info('File "'.$fileName.'" was created');
182 182
                     return;
183 183
                     
184 184
                 case 'Show':
185
-                    $io->line('File: ' . $fileName);
185
+                    $io->line('File: '.$fileName);
186 186
                     $io->line($generator->generate($mapper, $fileName));
187 187
                     break;
188 188
                     
Please login to merge, or discard this patch.
src/Migration/Console/InitCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
         $this->manager($input, $output)->initMigrationRepository();
37 37
 
38 38
         $output->writeln(
39
-            '<comment>Place your migration files in</comment> ' .
40
-            '<info>' . str_replace(getcwd(), '.', realpath($this->manager($input, $output)->getMigrationPath())) . '</info>'
39
+            '<comment>Place your migration files in</comment> '.
40
+            '<info>'.str_replace(getcwd(), '.', realpath($this->manager($input, $output)->getMigrationPath())).'</info>'
41 41
         );
42 42
 
43 43
         return 0;
Please login to merge, or discard this patch.
src/Migration/Console/StatusCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
                 $status = '<error>down</error>';
51 51
             }
52 52
 
53
-            $info[] = [$status, $migration->version(), '<comment>' . $migration->name() . '</comment>', $migration->stage()];
53
+            $info[] = [$status, $migration->version(), '<comment>'.$migration->name().'</comment>', $migration->stage()];
54 54
             $info[] = new TableSeparator();
55 55
         }
56 56
 
Please login to merge, or discard this patch.
src/Migration/Console/CheckCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $info    = [];
55 55
 
56 56
         foreach ($downMigrations as $migration) {
57
-            $info[] = ['<error>down</error>', $migration->version(), '<comment>' . $migration->name() . '</comment>', $migration->stage()];
57
+            $info[] = ['<error>down</error>', $migration->version(), '<comment>'.$migration->name().'</comment>', $migration->stage()];
58 58
             $info[] = new TableSeparator();
59 59
         }
60 60
 
Please login to merge, or discard this patch.
src/Migration/Console/GenerateCommand.php 1 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
         $path = $this->manager($input, $output)->createMigration($input->getArgument('name'), $input->getOption('stage'));
44 44
 
45
-        $output->writeln('<info>+f</info> ' . '.' . str_replace(getcwd(), '', $path));
45
+        $output->writeln('<info>+f</info> '.'.'.str_replace(getcwd(), '', $path));
46 46
 
47 47
         return 0;
48 48
     }
Please login to merge, or discard this patch.
src/Logger/PsrDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             );
95 95
         }
96 96
 
97
-        return ' : [' . implode(', ', $buffer) . ']';
97
+        return ' : ['.implode(', ', $buffer).']';
98 98
     }
99 99
     
100 100
     /**
Please login to merge, or discard this patch.