Skip to content

Commit d0ee692

Browse files
committed
NOTES ExitAfterRedirectSniff
1 parent 81ec22d commit d0ee692

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPressVIPMinimum/Sniffs/Security/ExitAfterRedirectSniff.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
*/
1818
class ExitAfterRedirectSniff extends Sniff {
1919

20+
// THIS SNIFF DOES NOT BELONG IN VIPCS, but should be in WPCS (but can't be moved due to the GPLv2 license being incompatible with MIT).
21+
22+
// Should be refactored to use the WPCS AbstractFunctionRestrictionsSniff
23+
// Needs careful review of how the token walking and the inside/outside scope determination is done.
2024
/**
2125
* Returns an array of tokens this test wants to listen for.
2226
*

0 commit comments

Comments
 (0)