From cc886c4825ac05e4994bba195b16ae4d118e2df0 Mon Sep 17 00:00:00 2001 From: Nickolay Harin Date: Tue, 17 Sep 2024 21:54:40 +0500 Subject: [PATCH] Buggregator functions as forgotten debug output (#1942) --- .../apiUsage/debug/ForgottenDebugOutputInspector.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/debug/ForgottenDebugOutputInspector.java b/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/debug/ForgottenDebugOutputInspector.java index bee807bf79..56b19fc13a 100644 --- a/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/debug/ForgottenDebugOutputInspector.java +++ b/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/apiUsage/debug/ForgottenDebugOutputInspector.java @@ -115,6 +115,8 @@ private static Set optionConfigurationDefaults() { list.add("\\Illuminate\\Support\\Debug\\Dumper::dump"); list.add("dd"); list.add("dump"); + /* Buggregator related functions */ + list.add("trap"); /* Core-php debug functions */ list.add("debug_print_backtrace"); list.add("debug_zval_dump");