mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-04-07 14:35:47 +00:00
code style
This commit is contained in:
parent
2b44a7724d
commit
f0eb14b0c7
2 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,7 @@ class VersionCommand extends Command
|
|||
}
|
||||
|
||||
if ($input->getOption('number')) {
|
||||
$io->writeln(Constants::VERSION_ID);
|
||||
$io->writeln((string) Constants::VERSION_ID);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -25,5 +25,6 @@ class ConsoleApplicationTest extends TestCase
|
|||
$sut = new ConsoleApplication($kernel);
|
||||
self::assertEquals(Constants::SOFTWARE, $sut->getName());
|
||||
self::assertEquals(Constants::VERSION, $sut->getVersion());
|
||||
self::assertEquals(sprintf('%s <info>%s</info> (env: <comment></>, debug: <comment>false</>)', Constants::SOFTWARE, Constants::VERSION), $sut->getLongVersion());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue