Skip to content

Commit 9b98a48

Browse files
staabmsebastianbergmann
authored andcommitted
fix superflous assert()
1 parent b31e7af commit 9b98a48

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/TextUI/Command/Commands/VersionCheckCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ public function execute(): Result
4141

4242
$latestCompatibleVersion = $this->downloader->download('https://phar.phpunit.de/latest-version-of/phpunit-' . $this->majorVersionNumber);
4343

44-
assert($latestCompatibleVersion !== false);
45-
4644
$notLatest = version_compare($latestVersion, $this->versionId, '>');
4745
$notLatestCompatible = false;
4846

0 commit comments

Comments
 (0)