Hi,

Could we include the ddbug_backtrace debug function from the devel module in the list of discouraged/forbidden functions?

https://api.drupal.org/api/devel/devel.module/function/ddebug_backtrace/...

A patch is provided that applied to 8.x-3.x.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nicasso created an issue. See original summary.

klausi’s picture

Status: Active » Needs work

Thanks, can you make a pull request against https://github.com/pfrenssen/coder so that we see the test cases run?

Let's also combine your other 2 issues into this one.

klausi’s picture

Title: Include ddbug_backtrace in the discouraged/forbidden functions » Include ddbug_backtrace and other devel functions in discouraged/forbidden functions
Nicasso’s picture

Thanks for your reaction.
I just made a pull request with all the 3 issues combined: https://github.com/pfrenssen/coder/pull/105

Nicasso’s picture

Status: Needs work » Needs review

  • Nicasso authored abe72b8 on 8.x-3.x
    feat(DiscouragedFunction): Add devel/kint functions that are discouraged...
klausi’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.