summaryrefslogtreecommitdiffstats
path: root/phinx-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'phinx-version.patch')
-rw-r--r--phinx-version.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/phinx-version.patch b/phinx-version.patch
index ea1290d..d1410c8 100644
--- a/phinx-version.patch
+++ b/phinx-version.patch
@@ -1,13 +1,13 @@
diff -up src/Phinx/Console/PhinxApplication.php.rpm src/Phinx/Console/PhinxApplication.php
---- src/Phinx/Console/PhinxApplication.php.rpm 2017-12-23 17:33:14.486694897 +0100
-+++ src/Phinx/Console/PhinxApplication.php 2017-12-23 17:33:39.408810505 +0100
-@@ -49,8 +49,7 @@ class PhinxApplication extends Applicati
- */
- public function __construct()
+--- src/Phinx/Console/PhinxApplication.php.rpm 2018-06-11 12:27:52.883341516 +0200
++++ src/Phinx/Console/PhinxApplication.php 2018-06-11 12:28:29.982556962 +0200
+@@ -50,8 +50,7 @@ class PhinxApplication extends Applicati
+ public function __construct($version = null)
{
-- $composerConfig = json_decode(file_get_contents(__DIR__ . '/../../../composer.json'));
-- $version = $composerConfig->version;
-+ $version = '@VERSION@';
+ if ($version === null) {
+- $composerConfig = json_decode(file_get_contents(__DIR__ . '/../../../composer.json'));
+- $version = $composerConfig->version;
++ $version = '@VERSION@';
+ }
parent::__construct('Phinx by CakePHP - https://phinx.org.', $version);
-