public function getLongVersion() { $version = parent::getLongVersion() . ' by <comment>SensioLabs</comment>'; $commit = '@git-commit@'; if ('@' . 'git-commit@' !== $commit) { $version .= ' (' . substr($commit, 0, 7) . ')'; } return $version; }