0
0
Fork 0
mirror of https://github.com/kevinpapst/kimai2.git synced 2025-04-07 14:35:47 +00:00

code style

This commit is contained in:
Kevin Papst 2022-03-08 16:10:11 +01:00
parent 2b44a7724d
commit f0eb14b0c7
2 changed files with 2 additions and 1 deletions

View file

@ -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;
}

View file

@ -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());
}
}