Completed
Push — master ( ecaef0...28b78e )
by Peter
10:06
created
src/AppBundle/DependencyInjection/Compiler/PackageManagerCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.
AppBundle/DependencyInjection/Compiler/DependencyManagerCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.
AppBundle/DependencyInjection/Compiler/RepositoryManagerCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.
src/AppBundle/Command/PackageUpdateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $packageManager = $packageManagers->get($package->getManager());
46 46
             $package = $packageManager->analyzePackage($package);
47 47
             $packageRepository->update($package);
48
-            $output->writeln('<info>Package ' . $package->getName() . ' updated!</info>');
48
+            $output->writeln('<info>Package '.$package->getName().' updated!</info>');
49 49
         }
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
src/AppBundle/Command/ProjectUpdateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
             $projectRepository->update($project);
80 80
 
81
-            $output->writeln('<info>Project ' . $project->getName() . ' updated!</info>');
81
+            $output->writeln('<info>Project '.$project->getName().' updated!</info>');
82 82
         }
83 83
     }
84 84
 }
Please login to merge, or discard this patch.
src/AppBundle/Service/VersionFormatter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,14 +72,14 @@
 block discarded – undo
72 72
                 }
73 73
             }
74 74
             if (mb_strpos($operator, '>') !== false || mb_strpos($operator, '!') !== false || mb_strpos($operator, '~') !== false) {
75
-                $version = $major . '.999.999';
75
+                $version = $major.'.999.999';
76 76
             } elseif (mb_strpos($operator, '<') !== false) {
77 77
                 if ($major == 0 && $minor > 0) {
78
-                    $version = $major . '.' . (((int) $minor) - 1) . '.999';
78
+                    $version = $major.'.'.(((int) $minor) - 1).'.999';
79 79
                 } elseif ($patch == 0) {
80
-                    $version = (((int) $major) - 1) . '.999.999';
80
+                    $version = (((int) $major) - 1).'.999.999';
81 81
                 } else {
82
-                    $version = $major . '.0.0';
82
+                    $version = $major.'.0.0';
83 83
                 }
84 84
             }
85 85
         }
Please login to merge, or discard this patch.
src/AppBundle/DependencyManager/Npm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.
src/AppBundle/DependencyManager/DependencyManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.
src/AppBundle/DependencyManager/DependencyManagers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of Packy.
Please login to merge, or discard this patch.