From 7b4dd410f662d3ba794a1e84f30033e09a3253d4 Mon Sep 17 00:00:00 2001 From: Punyapal Shah Date: Tue, 11 Jun 2024 21:08:02 +0530 Subject: [PATCH] chore: update Arch.php to ignore additional functions in presets --- tests/Arch.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/Arch.php b/tests/Arch.php index 37420691..9b73f809 100644 --- a/tests/Arch.php +++ b/tests/Arch.php @@ -5,13 +5,20 @@ use Pest\Expectation; arch()->preset()->base()->ignoring([ Expectation::class, 'debug_backtrace', + 'var_export', + 'xdebug_info', +]); + +arch()->preset()->strict()->ignoring([ 'usleep', ]); -arch()->preset()->strict(); - arch()->preset()->security()->ignoring([ 'eval', + 'str_shuffle', + 'exec', + 'unserialize', + 'extract', ]); arch('globals')