Skip to content

Commit fa67452

Browse files
committed
Updated the Application class to make use of @package_version@ provided by box.
Updated the logo by the same occasion.
1 parent f08d162 commit fa67452

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/PHPSemVerCheckerGit/Console/Application.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88

99
class Application extends SymfonyApplication {
1010

11-
private static $VERSION = '0.1';
12-
13-
private static $logo = ' ____ ______ _______
14-
/ __ \/ ___/ | / / ___/
15-
/ /_/ (__ )| |/ / /__
16-
/ .___/____/ |___/\___/
17-
/_/
11+
const VERSION = '@package_version@';
12+
13+
private static $logo = ' _ __
14+
____ ______ ___________ _/_/ /_
15+
/ __ \/ ___/ | / / ___/ __ `/ / __/
16+
/ /_/ /__ /| |/ / /__/ /_/ / / /_
17+
/ .___/____/ |___/\___/\__, /_/\__/
18+
/_/ /____/
1819
';
1920

2021
public function __construct()
2122
{
22-
parent::__construct('PHP Semantic Versioning Checker GIT by Tom Rochette', static::$VERSION);
23+
parent::__construct('PHP Semantic Versioning Checker GIT by Tom Rochette', self::VERSION);
2324
}
2425

2526
public function getHelp()

0 commit comments

Comments
 (0)