Skip to content

Commit 629363f

Browse files
committed
Mention the DisallowDebugFunctionsRule in ReadMe file.
1 parent 08e91e9 commit 629363f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ Table::hasMany, Table::belongsToMany, Table::hasOne and AssociationCollection::l
133133
### AddBehaviorExistsClassRule
134134
This rule check if the target behavior has a valid class when calling to Table::addBehavior and BehaviorRegistry::load.
135135

136+
### DisallowDebugFunctionsRule
137+
This rule disallow use of debug functions (dd, debug, debug_print_backtrace, debug_zval_dump, pr, print_r, stacktrace, var_dump and var_export).
138+
The use of these functions in shipped code is discouraged because they can leak sensitive information or clutter output.
139+
136140
### DisallowEntityArrayAccessRule
137141
This rule disallow array access to entity in favor of object notation, is easier to detect a wrong property and to refactor code.
138142

0 commit comments

Comments
 (0)