Skip to content

Commit d1ea968

Browse files
takaramondrejmirtes
authored andcommitted
Fix typo in error message for #[RequiresPhp] attribute
1 parent eafadcd commit d1ea968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function processNode(Node $node, Scope $scope): array
103103
$phpVersion = new PhpVersion($firstStmt->cond->right->value);
104104

105105
return [
106-
RuleErrorBuilder::message('Skip tests with #[RequiresPhp] attribute intead.')
106+
RuleErrorBuilder::message('Skip tests with #[RequiresPhp] attribute instead.')
107107
->identifier('phpstan.skipTestsRequiresPhp')
108108
->line($firstStmt->getStartLine())
109109
->fixNode($originalNode, static function (Node\Stmt\ClassMethod $node) use ($phpVersion, $inverseBinaryOpSigil) {

0 commit comments

Comments
 (0)