Skip to content

Commit 745fc5d

Browse files
committed
Fixes DMG recipe version comparison
1 parent 1b210b0 commit 745fc5d

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ $command[] = new DevCoding\Jss\Easy\Command\Preferences\CC\BackupCommand();
3131
$command[] = new DevCoding\Jss\Easy\Command\Preferences\CC\TransferCommand();
3232
// Other Commands
3333
$command[] = new DevCoding\Jss\Easy\Command\PrepCommand();
34-
$app = new Application('Jez', 'v4.0.10');
34+
$app = new Application('Jez', 'v4.0.11');
3535
$app->addCommands($command);
3636
$app->run();

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"prefer-stable": true,
1818
"minimum-stability": "dev",
19-
"version": "4.0.10",
19+
"version": "4.0.11",
2020
"require": {
2121
"php": ">=7.1",
2222
"ext-json": "*",

dist/jez.phar

2 Bytes
Binary file not shown.

src/Command/Download/AbstractInstallConsole.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ protected function isVersionMatch($app_or_ver)
364364
$new = $this->getAppVersion($this->getDestination());
365365
$comp = ($app_or_ver instanceof MacApplication) ? $this->getAppVersion($app_or_ver) : $app_or_ver;
366366

367-
if (0 == strpos($new->getRaw(), 'Build _'))
367+
if (0 === strpos($new->getRaw(), 'Build _'))
368368
{
369369
$new = new SemanticVersion('0.0+'.$new->getBuild());
370370
}

src/Object/Recipe/GenericRecipe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function isMatch(MacApplication $offered)
9999
$cVer = new SemanticVersion($ver);
100100
$oVer = $offered->getShortVersion() ?? $offered->getVersion();
101101

102-
if (0 == strpos($oVer->getRaw(), 'Build _'))
102+
if (0 === strpos($oVer->getRaw(), 'Build _'))
103103
{
104104
$oVer = new SemanticVersion('0.0+'.$oVer->getBuild());
105105
}

0 commit comments

Comments
 (0)