src/Console/Application.php
public function getLongVersion()
    {
        $version = parent::getLongVersion();
        if (self::VERSION_CODENAME) {
            $version .= ' <info>'.self::VERSION_CODENAME.'</info>';
        }
        $version .= ' by <comment>Fabien Potencier</comment> and <comment>Dariusz Ruminski</comment>';

        $commit = '@git-commit@';

        if ('@'.'git-commit@' !== $commit) {
            $version .= ' ('.substr($commit, 0, 7).')';
        }

        return $version;
    }
public function getLongVersion()
    {
        $version = parent::getLongVersion();
        if (self::VERSION_CODENAME) {
            $version .= ' <info>'.self::VERSION_CODENAME.'</info>';
        }
        $version .= ' by <comment>Fabien Potencier</comment> and <comment>Dariusz Ruminski</comment>';

        $commit = '@git-commit@';

        if ('@'.'git-commit@' !== $commit) {
            $version .= ' ('.substr($commit, 0, 7).')';
        }

        return $version;
    }
{@inheritdoc}