getLongVersion() public method

Returns the long version of the application.
public getLongVersion ( ) : string
return string The long application version
Beispiel #1
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
     if ('@' . 'git-commit@' !== ($commit = '@git-commit@')) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
 public function getLongVersion()
 {
     $version = parent::getLongVersion();
     $commit = '@git-commit@';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
 public function getLongVersion()
 {
     $version = parent::getLongVersion();
     $commit = '@git-commit-short@';
     if ('@' . 'git-commit-short@' !== $commit) {
         $version .= " ({$commit})";
     }
     return $version . ' by <comment>Stefano Torresi</comment>';
 }
Beispiel #4
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
     $commit = '41f70154642ec0f9ea9ea9c290943f3b5dfa76fc';
     if ('@' . 'git-commit@' !== $commit) {
         $version .= ' (' . substr($commit, 0, 7) . ')';
     }
     return $version;
 }
Beispiel #5
0
 /**
  * @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;
 }
Beispiel #6
0
 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;
 }
 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;
 }
Beispiel #8
0
    public function getLongVersion()
    {
        $bigtext = <<<'BIGTEXT'
 /$$$$$$$  /$$
| $$__  $$| $$
| $$  \ $$| $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$  /$$    /$$ /$$$$$$   /$$$$$$
| $$$$$$$/| $$__  $$ /$$__  $$ /$$__  $$ /$$__  $$|  $$  /$$//$$__  $$ /$$__  $$
| $$____/ | $$  \ $$| $$  \ $$| $$  \__/| $$$$$$$$ \  $$/$$/| $$$$$$$$| $$  \__/
| $$      | $$  | $$| $$  | $$| $$      | $$_____/  \  $$$/ | $$_____/| $$
| $$      | $$  | $$|  $$$$$$/| $$      |  $$$$$$$   \  $/  |  $$$$$$$| $$
|__/      |__/  |__/ \______/ |__/       \_______/    \_/    \_______/|__/
BIGTEXT;
        return "<comment>{$bigtext}</comment>\n\n" . parent::getLongVersion();
    }
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Andrew Reddikh</comment>';
     return $version;
 }
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Composer::RELEASE_DATE;
 }
Beispiel #11
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Hannes Van De Vreken & Freek Van der Herten</comment>';
 }
Beispiel #12
0
 public function getLongVersion()
 {
     return self::$logo . parent::getLongVersion();
 }
Beispiel #13
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Fabien Potencier</comment>';
 }
Beispiel #14
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Craig Davis</comment>';
 }
Beispiel #15
0
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Virtphp::RELEASE_DATE;
 }
Beispiel #16
0
 /**
  * {@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;
 }
Beispiel #17
0
 /**
  * {@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');
 }
Beispiel #18
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' ' . Dotfiles::RELEASE_DATE;
 }
Beispiel #19
0
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Juan Manuel Torres</comment>';
     return $version;
 }
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Help Scout</comment>';
 }
Beispiel #21
0
 /**
  * @return string
  */
 public function getLongVersion()
 {
     $version = parent::getLongVersion() . ' by <comment>Rebangm</comment>';
     return $version;
 }
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Spatie</comment>';
 }
Beispiel #23
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Andreas Lutro</comment>';
 }
Beispiel #24
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>Dany Maillard</comment>';
 }
Beispiel #25
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <info>netz98 new media GmbH</info>';
 }
Beispiel #26
0
 /**
  * @return string
  */
 public function getLongVersion()
 {
     return sprintf('%s by <comment>%s</comment>', parent::getLongVersion(), self::AUTHOR);
 }
Beispiel #27
0
 /**
  * {@inheritDoc}
  */
 public function getLongVersion()
 {
     return parent::getLongVersion();
 }
 public function getLongVersion()
 {
     return parent::getLongVersion() . PHP_EOL . PHP_EOL . $this->getCopyright();
 }
Beispiel #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');
 }
Beispiel #30
0
 public function getLongVersion()
 {
     return parent::getLongVersion() . ' by <comment>sankar</comment>';
 }