Skip to content

Commit b4697a2

Browse files
author
Carlos Cima
committed
Display correct application version on output.
1 parent cb9b39d commit b4697a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

php-mysql-diff

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env php
22
<?php
33

4+
define('APP_VERSION', '1.1.8');
5+
46
// installed via composer?
57
if (file_exists($a = __DIR__ . '/../../autoload.php')) {
68
require_once $a;
@@ -12,7 +14,7 @@ use Camcima\MySqlDiff\Command\DiffCommand;
1214
use Camcima\MySqlDiff\Command\MigrateCommand;
1315
use Symfony\Component\Console\Application;
1416

15-
$application = new Application('PHP MySQL Diff', '1.0.0');
17+
$application = new Application('PHP MySQL Diff', APP_VERSION);
1618
$application->add(new MigrateCommand());
1719
$application->add(new DiffCommand());
1820
$application->run();

0 commit comments

Comments
 (0)