Passed
Branch master (3b35d7)
by Tom
02:10
created
src/Command/BaseCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      * Will not actually perform operations if performing dry_run
172 172
      *
173 173
      * @param OutputInterface $output
174
-     * @param array           $cmd_chunks
174
+     * @param string[]           $cmd_chunks
175 175
      *
176 176
      * @throws \Symfony\Component\Process\Exception\ProcessFailedException
177 177
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
             throw new \InvalidArgumentException(sprintf('%s not found in working-dir', $json_file_path));
156 156
         }
157 157
 
158
-        $this->setDryRun((bool)$input->getOption('dry-run'));
158
+        $this->setDryRun((bool) $input->getOption('dry-run'));
159 159
 
160 160
         $this->lock_file   = new ComposerFile\ComposerLock($lock_file_path);
161 161
         $this->json_file   = new ComposerFile\ComposerJson($json_file_path);
Please login to merge, or discard this patch.
src/ComposerFile/ComposerFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
      */
60 60
     public function save()
61 61
     {
62
-        return (bool)file_put_contents($this->path, json_encode($this->contents, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL);
62
+        return (bool) file_put_contents($this->path, json_encode($this->contents, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL);
63 63
     }
64 64
 }
Please login to merge, or discard this patch.