summaryrefslogtreecommitdiffstats
path: root/phinx-version.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-23 17:55:05 +0100
committerRemi Collet <remi@remirepo.net>2017-12-23 17:55:05 +0100
commit89bc3e4440e059a9b2178558bcc01a1a77d82a2a (patch)
tree5fa24db8587081ef8bf11e6b0c5b19b53e49c010 /phinx-version.patch
parent75a7c6f81389f8ca35fef2676a453f034884c683 (diff)
Update to 0.9.2
open https://github.com/cakephp/phinx/pull/1278 fix tests use phpunit6 on Fedora allow Symfony 4
Diffstat (limited to 'phinx-version.patch')
-rw-r--r--phinx-version.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/phinx-version.patch b/phinx-version.patch
new file mode 100644
index 0000000..ea1290d
--- /dev/null
+++ b/phinx-version.patch
@@ -0,0 +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()
+ {
+- $composerConfig = json_decode(file_get_contents(__DIR__ . '/../../../composer.json'));
+- $version = $composerConfig->version;
++ $version = '@VERSION@';
+
+ parent::__construct('Phinx by CakePHP - https://phinx.org.', $version);
+