blob: ea1290d9f41b6d4dab1844097fc0b941c206dd9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
|