getLongVersion() public method

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