Skip to content

Commit

Permalink
Add comment to bc layer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 16, 2024
1 parent f40d9d3 commit 9a2dbd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
throw new RuntimeException('Install dependencies to run test suite.');
}

if (!\trait_exists(Prophecy\PhpUnit\ProphecyTrait::class)) {
if (!\trait_exists(Prophecy\PhpUnit\ProphecyTrait::class)) { // backwards compatibility layer for < PHP 7.3
require __DIR__ . '/prophecy-trait-bc-layer.php';
}

Expand Down
3 changes: 3 additions & 0 deletions Tests/prophecy-trait-bc-layer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

namespace Prophecy\PhpUnit;

/**
* @internal
*/
trait ProphecyTrait
{
}

0 comments on commit 9a2dbd9

Please sign in to comment.