diff --git a/composer.json b/composer.json index b3ed155..ef8441f 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,6 @@ "ext-dom": "*", "ext-json": "*", "sebastian/cli-parser": "^1.0|^2.0", - "sebastian/version": "^3.0|^4.0", "phpunit/php-file-iterator": "^3.0|^4.0" }, "require-dev": { diff --git a/src/CLI/Application.php b/src/CLI/Application.php index 46e583f..a984e29 100644 --- a/src/CLI/Application.php +++ b/src/CLI/Application.php @@ -16,7 +16,6 @@ use Cmgmyr\PHPLOC\Log\Text as TextPrinter; use Cmgmyr\PHPLOC\Log\Xml as XmlPrinter; use SebastianBergmann\FileIterator\Facade; -use SebastianBergmann\Version; final class Application { @@ -88,7 +87,7 @@ private function printVersion(): void { printf( 'phploc %s by Chris Gmyr.' . PHP_EOL, - (new Version(self::VERSION, dirname(__DIR__)))->getVersion() + self::VERSION ); }