From 3906600d44c326940fcca2f7da4843611cdd400a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 20 Sep 2023 19:44:53 +0100 Subject: [PATCH] Fix CS --- tests/phpstan/rules/DeprecatedLegacyEnumAccessRule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpstan/rules/DeprecatedLegacyEnumAccessRule.php b/tests/phpstan/rules/DeprecatedLegacyEnumAccessRule.php index 2f17e6914..4fa767022 100644 --- a/tests/phpstan/rules/DeprecatedLegacyEnumAccessRule.php +++ b/tests/phpstan/rules/DeprecatedLegacyEnumAccessRule.php @@ -30,6 +30,7 @@ use PHPStan\Rules\Rule; use PHPStan\Rules\RuleErrorBuilder; use PHPStan\Type\TypeWithClassName; use pocketmine\utils\LegacyEnumShimTrait; +use function sprintf; /** * @phpstan-implements Rule