Created
October 19, 2023 11:08
-
-
Save DuaelFr/61677dd6f2274d7c292c578ec1538e43 to your computer and use it in GitHub Desktop.
GrumPHP git blacklist example for Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grumphp: | |
tasks: | |
git_blacklist_twig: | |
metadata: | |
task: git_blacklist | |
keywords: | |
- "dump(" | |
- "kint(" | |
- "|raw" | |
- "autoescape" | |
- "devel_breakpoint(" | |
triggered_by: | |
- twig | |
git_blacklist_js: | |
metadata: | |
task: git_blacklist | |
keywords: | |
- "console.log(" | |
- "console.debug(" | |
triggered_by: | |
- js | |
git_blacklist_php: | |
metadata: | |
task: git_blacklist | |
keywords: | |
# PHP Native functions. | |
- "var_dump(" | |
- "var_export(" | |
- "print_r(" | |
- "die(" | |
- "debug_backtrace(" | |
- "debug_print_backtrace(" | |
# Devel debug functions. | |
- "devel_dump(" | |
- "devel_export(" | |
- "devel_message(" | |
- "devel_debug(" | |
- "dfb(" | |
- "dfbt(" | |
- "dd(" | |
- "ddm(" | |
- "kint(" | |
- "ksm(" | |
- "dpm(" | |
- "dvm(" | |
- "dsm(" | |
- "dpr(" | |
- "kpr(" | |
- "dvr(" | |
- "dargs(" | |
- "dpq(" | |
- "devel_render(" | |
- "ddebug_backtrace(" | |
triggered_by: | |
- php | |
- module | |
- inc | |
- install | |
- test | |
- profile | |
- theme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment