Skip to content

Commit b0223d3

Browse files
committed
Remove unnecessary checks for PHP <8.1 (in tests)
1 parent d3d9419 commit b0223d3

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/Unit/ComponentAttributesTest.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ public function testCanAddStimulusControllerIfNoneAlreadyPresent()
139139

140140
public function testCanAddStimulusControllerViaStimulusAttributes()
141141
{
142-
// if PHP less than 8.1, skip
143-
if (version_compare(\PHP_VERSION, '8.1.0', '<')) {
144-
$this->markTestSkipped('PHP 8.1+ required');
145-
}
146-
147142
$attributes = new ComponentAttributes([
148143
'class' => 'foo',
149144
'data-controller' => 'live',
@@ -167,11 +162,6 @@ public function testCanAddStimulusControllerViaStimulusAttributes()
167162

168163
public function testCanAddStimulusActionViaStimulusAttributes()
169164
{
170-
// if PHP less than 8.1, skip
171-
if (version_compare(\PHP_VERSION, '8.1.0', '<')) {
172-
$this->markTestSkipped('PHP 8.1+ required');
173-
}
174-
175165
$attributes = new ComponentAttributes([
176166
'class' => 'foo',
177167
'data-action' => 'live#foo',

0 commit comments

Comments
 (0)