Skip to content

Commit

Permalink
rm use of version dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgmyr committed Aug 5, 2023
1 parent 35e3080 commit 69c6c1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions src/CLI/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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

Check warning on line 90 in src/CLI/Application.php

View check run for this annotation

Codecov / codecov/patch

src/CLI/Application.php#L90

Added line #L90 was not covered by tests
);
}

Expand Down

0 comments on commit 69c6c1d

Please sign in to comment.