From 6fe6faf7ca20be136b0abcdc270063f2ab63348e Mon Sep 17 00:00:00 2001 From: Steve Grunwell Date: Mon, 15 Jan 2018 17:12:33 +0000 Subject: [PATCH] Don't flag instances of print_r() within the tests/ directory. In some cases, calls like `print_r( $data, true )` (return the printed array as a string) can be helpful for providing context if/when a test fails. --- phpcs.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpcs.xml b/phpcs.xml index 7ac74d9077d..360557ce1a6 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -54,4 +54,7 @@ includes/**/abstract-*.php tests/* + + tests/* +