From faa225521d0bac0b23f22cdee9438bbc5eaf82b3 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Wed, 18 Sep 2024 00:29:22 +0200 Subject: [PATCH] Add sprintf to list of compiled functions --- .../inspectors/apiUsage/UnqualifiedReferenceInspector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/UnqualifiedReferenceInspector.java b/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/UnqualifiedReferenceInspector.java index 90bd1d8489..056d5e3f82 100644 --- a/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/UnqualifiedReferenceInspector.java +++ b/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/UnqualifiedReferenceInspector.java @@ -114,6 +114,7 @@ public class UnqualifiedReferenceInspector extends BasePhpInspection { advancedOpcode.add("is_scalar"); advancedOpcode.add("sizeof"); advancedOpcode.add("ini_get"); + advancedOpcode.add("sprintf"); } final private static Condition PARENT_NAMESPACE = new Condition() {