From de48ddb1ad0e3cd82498b37f3b2117ff968b6e7c Mon Sep 17 00:00:00 2001 From: Takuya Aramaki Date: Sun, 20 Jul 2025 12:01:22 +0900 Subject: [PATCH] Fix typo in error message for `#[RequiresPhp]` attribute --- build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php b/build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php index 00ea26f827..05de1553e2 100644 --- a/build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php +++ b/build/PHPStan/Build/SkipTestsWithRequiresPhpAttributeRule.php @@ -103,7 +103,7 @@ public function processNode(Node $node, Scope $scope): array $phpVersion = new PhpVersion($firstStmt->cond->right->value); return [ - RuleErrorBuilder::message('Skip tests with #[RequiresPhp] attribute intead.') + RuleErrorBuilder::message('Skip tests with #[RequiresPhp] attribute instead.') ->identifier('phpstan.skipTestsRequiresPhp') ->line($firstStmt->getStartLine()) ->fixNode($originalNode, static function (Node\Stmt\ClassMethod $node) use ($phpVersion, $inverseBinaryOpSigil) {