MDW
acd8168cb6
Fix: Fix var_dump checker ( #28226 )
...
* Fix: Fix var_dump checker
# Fix: Fix var_dump checker
The core issue was that in PHP whitespace includes newlines by default, the m modifier
is needed to not match multilines.
* Fix: Allow multiple var_dumps on single comment line, refactor
# Fix: Allow multiple var_dumps on single comment line, refactor
Updated the regex to not match a var_dump preceeded with a comment
somewhere on the line.
Refactored var_dump check in dedicated method.
* Qual: Test the test function !
# Qual: Test the test function !
Test that the test function detecting var_dump does detect them.
* Qual: CodingPhpTest - remove comments from file before checking
# Qual: CodingPhpTest - remove comments from file before checking
This helps remove false positives and may have a positive impact on performance.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-02-25 22:08:07 +01:00
..
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-20 10:38:27 +01:00
2024-02-21 13:57:05 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-25 22:08:07 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-24 18:05:42 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-17 18:59:57 +01:00
2024-02-17 18:59:57 +01:00
2024-02-17 18:59:57 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-21 12:46:20 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-23 17:43:18 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-20 01:26:25 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-17 15:50:51 +01:00
2024-02-20 01:17:00 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-20 14:58:46 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00
2024-02-19 15:28:21 +01:00