Skip to content

Commit 81ec22d

Browse files
committed
NOTES EscapingVoidReturnFunctionsSniff
1 parent b7f3252 commit 81ec22d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPressVIPMinimum/Sniffs/Security/EscapingVoidReturnFunctionsSniff.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
*/
2424
class EscapingVoidReturnFunctionsSniff extends AbstractFunctionParameterSniff {
2525

26+
// Should be refactored to use the WPCS AbstractFunctionRestrictionsSniff
27+
// Will also need to check much better that what's inside the function call is another function call and not a constant or something else.
28+
// Needs to take fully qualified function calls into account. Also for the "inside" function.
29+
2630
use PrintingFunctionsTrait;
2731

2832
/**

0 commit comments

Comments
 (0)