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

Commit

Permalink
Fix circular package dependency (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus authored Oct 19, 2020
1 parent df3128a commit fa60f6e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PolyfillTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@

namespace PHPUnitGoodPractices\Polyfill;

use PHPUnitGoodPractices\Traits\PHPUnitVersionRetriever;

if (version_compare(PHPUnitVersionRetriever::getVersion(), '7.0.0') < 0) {
if (version_compare(\PHPUnit\Runner\Version::id(), '7.0.0') < 0) {
trait PolyfillTrait
{
public function expectException($exception)
Expand Down

0 comments on commit fa60f6e

Please sign in to comment.