diff options
author | Remi Collet <remi@remirepo.net> | 2019-12-13 10:00:56 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-12-13 10:00:56 +0100 |
commit | 20d8e568224fdcf69ac60ef0a00fdfabd9b116fb (patch) | |
tree | d30c12d153f84030736dbfb158b1f904809a287b /phinx-version.patch | |
parent | 56c857f0b2fd08864bc2c0817c02dc293543d27a (diff) |
- update to 0.11.3
- allow Symfony 5
Diffstat (limited to 'phinx-version.patch')
-rw-r--r-- | phinx-version.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/phinx-version.patch b/phinx-version.patch index d1410c8..0262d85 100644 --- a/phinx-version.patch +++ b/phinx-version.patch @@ -1,13 +1,12 @@ diff -up src/Phinx/Console/PhinxApplication.php.rpm src/Phinx/Console/PhinxApplication.php ---- 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) +--- src/Phinx/Console/PhinxApplication.php.rpm 2019-12-13 09:56:58.153369975 +0100 ++++ src/Phinx/Console/PhinxApplication.php 2019-12-13 09:57:01.871352539 +0100 +@@ -56,7 +56,7 @@ class PhinxApplication extends Applicati + */ + public function __construct() { - 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.'); ++ parent::__construct('Phinx by CakePHP - https://phinx.org.', '@VERSION@'); - parent::__construct('Phinx by CakePHP - https://phinx.org.', $version); + $this->addCommands([ + new Init(), |