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");