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);