Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function testRule(): void
]);
}

#[RequiresPhp('< 8')]
#[RequiresPhp('< 8.0.0')]
public function testRulePhp7(): void
{
$this->analyse([__DIR__ . '/data/method-call-statement-no-side-effects.php'], [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testRule(): void
]);
}

#[RequiresPhp('< 8')]
#[RequiresPhp('< 8.0.0')]
public function testRulePhp7(): void
{
$this->analyse([__DIR__ . '/data/static-method-call-statement-no-side-effects.php'], [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function testBug13624(): void
$this->analyse([__DIR__ . '/data/bug-13624.php'], []);
}

#[RequiresPhp('>= 8.0')]
#[RequiresPhp('>= 8.0.0')]
public function testBug11844(): void
{
$this->analyse([__DIR__ . '/../../Analyser/nsrt/bug-11844.php'], []);
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ public function testBug6688(): void
]);
}

#[RequiresPhp('>= 8.0')]
#[RequiresPhp('>= 8.0.0')]
public function testBug10729(): void
{
$this->cliArgumentsVariablesRegistered = true;
Expand Down
Loading