Skip to content

Commit 3c52311

Browse files
committed
use required php version instead
1 parent 9c4c4e6 commit 3c52311

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/Maker/MakeCommandTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ protected function getMakerClass(): string
2626
public function getTestDetails(): \Generator
2727
{
2828
yield 'it_makes_a_command_no_attributes' => [$this->createMakerTest()
29+
->setRequiredPhpVersion(80000)
2930
->run(function (MakerTestRunner $runner) {
30-
if (\PHP_MAJOR_VERSION < 8) {
31-
// @legacy Remove when PHP 7 is now longer supported.
32-
$this->markTestSkipped('Test only runs on PHP < 8');
33-
}
34-
3531
$runner->runMaker([
3632
// command name
3733
'app:foo',

0 commit comments

Comments
 (0)