getLongVersion() public method

Returns the long version of the application.
public getLongVersion ( ) : string
return string The long application version
コード例 #1
0
ファイル: Application.php プロジェクト: bgotink/PHP-CS-Fixer
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
     if ('@' . 'git-commit@' !== ($commit = '@git-commit@')) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #2
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion();
     $commit = '@git-commit@';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #3
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion();
     $commit = '@git-commit-short@';
     if ('@' . 'git-commit-short@' !== $commit) {
         $version .= " ({$commit})";
     }
     return $version . ' by <comment>Stefano Torresi</comment>';
 }
コード例 #4
0
ファイル: Application.php プロジェクト: Ryu0621/SaNaVi
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
     $commit = '41f70154642ec0f9ea9ea9c290943f3b5dfa76fc';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #5
0
ファイル: Application.php プロジェクト: funivan/cs
 /**
  * @return string
  */
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Ivan Shcherbak</comment>';
     $commit = '@git-commit@';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #6
0
ファイル: Application.php プロジェクト: yoghi/madda
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Stefano Tamagnini</comment>';
     $commit = '@git-commit@';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #7
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Giso Stallenberg</comment>';
     $commit = '@git-commit@';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
コード例 #8
0
ファイル: Application.php プロジェクト: dcousineau/phorever
    public function getLongVersion()
    {
        $bigtext = <<<'BIGTEXT'
 /$$$$$$$  /$$
| $$__  $$| $$
| $$  \ $$| $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$  /$$    /$$ /$$$$$$   /$$$$$$
| $$$$$$$/| $$__  $$ /$$__  $$ /$$__  $$ /$$__  $$|  $$  /$$//$$__  $$ /$$__  $$
| $$____/ | $$  \ $$| $$  \ $$| $$  \__/| $$$$$$$$ \  $$/$$/| $$$$$$$$| $$  \__/
| $$      | $$  | $$| $$  | $$| $$      | $$_____/  \  $$$/ | $$_____/| $$
| $$      | $$  | $$|  $$$$$$/| $$      |  $$$$$$$   \  $/  |  $$$$$$$| $$
|__/      |__/  |__/ \______/ |__/       \_______/    \_/    \_______/|__/
BIGTEXT;
        return "<comment>{$bigtext}</comment>\n\n" . parent::getLongVersion();
    }
コード例 #9
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Andrew Reddikh</comment>';
     return $version;
 }
コード例 #10
0
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Composer::RELEASE_DATE;
 }
コード例 #11
0
ファイル: Application.php プロジェクト: spatie/7to5
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Hannes Van De Vreken & Freek Van der Herten</comment>';
 }
コード例 #12
0
 public function getLongVersion()
 {
     return self::$logo . parent::getLongVersion();
 }
コード例 #13
0
ファイル: Application.php プロジェクト: codebubb/web_ssh
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
 }
コード例 #14
0
ファイル: Working.php プロジェクト: enobrev/fogbugz-php-cli
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Craig Davis</comment>';
 }
コード例 #15
0
ファイル: Application.php プロジェクト: Ryan4021/virtphp
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Virtphp::RELEASE_DATE;
 }
コード例 #16
0
ファイル: Application.php プロジェクト: hanovruslan/composer
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     if (Composer::BRANCH_ALIAS_VERSION) {
         return sprintf('<info>%s</info> version <comment>%s (%s)</comment> %s', $this->getName(), Composer::BRANCH_ALIAS_VERSION, $this->getVersion(), Composer::RELEASE_DATE);
     }
     return parent::getLongVersion() . ' ' . Composer::RELEASE_DATE;
 }
コード例 #17
0
ファイル: Application.php プロジェクト: symfony/symfony
 /**
  * {@inheritdoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion() . sprintf(' (kernel: <comment>%s</>, env: <comment>%s</>, debug: <comment>%s</>)', $this->kernel->getName(), $this->kernel->getEnvironment(), $this->kernel->isDebug() ? 'true' : 'false');
 }
コード例 #18
0
ファイル: Application.php プロジェクト: slbmeh/dotfiles
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Dotfiles::RELEASE_DATE;
 }
コード例 #19
0
ファイル: Application.php プロジェクト: onema/classyfile
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Juan Manuel Torres</comment>';
     return $version;
 }
コード例 #20
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Help Scout</comment>';
 }
コード例 #21
0
ファイル: Application.php プロジェクト: rebangm/php-checker
 /**
  * @return string
  */
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Rebangm</comment>';
     return $version;
 }
コード例 #22
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Spatie</comment>';
 }
コード例 #23
0
ファイル: Application.php プロジェクト: anlutro/phpbench
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Andreas Lutro</comment>';
 }
コード例 #24
0
ファイル: Application.php プロジェクト: maidmaid/cffie
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Dany Maillard</comment>';
 }
コード例 #25
0
ファイル: Application.php プロジェクト: jsiefer/n98-magerun2
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <info>netz98 new media GmbH</info>';
 }
コード例 #26
0
 /**
  * @return string
  */
 public function getLongVersion()
 {
     return sprintf('%s by <comment>%s</comment>', parent::getLongVersion(), self::AUTHOR);
 }
コード例 #27
0
ファイル: Application.php プロジェクト: consolle/framework
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion();
 }
コード例 #28
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . PHP_EOL . PHP_EOL . $this->getCopyright();
 }
コード例 #29
0
 public function testGetLongVersion()
 {
     $application = new Application('foo', 'bar');
     $this->assertEquals('<info>foo</info> version <comment>bar</comment>', $application->getLongVersion(), '->getLongVersion() returns the long version of the application');
 }
コード例 #30
0
ファイル: Application.php プロジェクト: Gamesh/to-twig
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>sankar</comment>';
 }