Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit fa60f6e

Browse files
authored
Fix circular package dependency (#11)
1 parent df3128a commit fa60f6e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PolyfillTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
namespace PHPUnitGoodPractices\Polyfill;
1313

14-
use PHPUnitGoodPractices\Traits\PHPUnitVersionRetriever;
15-
16-
if (version_compare(PHPUnitVersionRetriever::getVersion(), '7.0.0') < 0) {
14+
if (version_compare(\PHPUnit\Runner\Version::id(), '7.0.0') < 0) {
1715
trait PolyfillTrait
1816
{
1917
public function expectException($exception)

0 commit comments

Comments
 (0)