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