Skip to content

Commit

Permalink
fix: RequiresPhpunit should use semver constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
nikophil committed Dec 16, 2024
1 parent 09d548e commit d1240b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/ORM/EdgeCasesRelationshipTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class EdgeCasesRelationshipTest extends KernelTestCase
#[Test]
#[DataProvider('provideCascadeRelationshipsCombinations')]
#[UsingRelationships(RelationshipWithGlobalEntity\RelationshipWithGlobalEntity::class, ['globalEntity'])]
#[RequiresPhpunit('11.4')]
#[RequiresPhpunit('^11.4')]
public function it_can_use_flush_after_and_entity_from_global_state(): void
{
$relationshipWithGlobalEntityFactory = persistent_factory(RelationshipWithGlobalEntity\RelationshipWithGlobalEntity::class);
Expand All @@ -71,7 +71,7 @@ public function it_can_use_flush_after_and_entity_from_global_state(): void
#[Test]
#[DataProvider('provideCascadeRelationshipsCombinations')]
#[UsingRelationships(RichDomainMandatoryRelationship\OwningSide::class, ['main'])]
#[RequiresPhpunit('11.4')]
#[RequiresPhpunit('^11.4')]
public function inversed_relationship_mandatory(): void
{
$owningSideEntityFactory = persistent_factory(RichDomainMandatoryRelationship\OwningSide::class);
Expand Down

0 comments on commit d1240b1

Please sign in to comment.