Skip to content

Commit

Permalink
Add is_scalar, sizeof, ini_get and sprintf to list of compile…
Browse files Browse the repository at this point in the history
…d/optimized functions (#1818)
  • Loading branch information
jdreesen authored Sep 18, 2024
1 parent c9b9c39 commit fe69f58
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public class UnqualifiedReferenceInspector extends BasePhpInspection {
advancedOpcode.add("constant");
advancedOpcode.add("define");
advancedOpcode.add("array_key_exists");
advancedOpcode.add("is_scalar");
advancedOpcode.add("sizeof");
advancedOpcode.add("ini_get");
advancedOpcode.add("sprintf");
}

final private static Condition<PsiElement> PARENT_NAMESPACE = new Condition<PsiElement>() {
Expand Down

0 comments on commit fe69f58

Please sign in to comment.