From 69c6c1d775e87f5c0c6685623adefa8f4622dba1 Mon Sep 17 00:00:00 2001 From: Chris Gmyr Date: Sat, 5 Aug 2023 12:30:14 -0400 Subject: [PATCH] rm use of version dependency --- composer.json | 1 - src/CLI/Application.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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 ); }