@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |
@@ -45,7 +45,7 @@ |
||
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 | } |
@@ -78,7 +78,7 @@ |
||
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 | } |
@@ -72,14 +72,14 @@ |
||
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 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of Packy. |