chore: update Arch.php to ignore additional functions in presets

This commit is contained in:
Punyapal Shah
2024-06-11 21:08:02 +05:30
parent 4396ee2e03
commit 7b4dd410f6

View File

@ -5,13 +5,20 @@ use Pest\Expectation;
arch()->preset()->base()->ignoring([ arch()->preset()->base()->ignoring([
Expectation::class, Expectation::class,
'debug_backtrace', 'debug_backtrace',
'var_export',
'xdebug_info',
]);
arch()->preset()->strict()->ignoring([
'usleep', 'usleep',
]); ]);
arch()->preset()->strict();
arch()->preset()->security()->ignoring([ arch()->preset()->security()->ignoring([
'eval', 'eval',
'str_shuffle',
'exec',
'unserialize',
'extract',
]); ]);
arch('globals') arch('globals')