mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: update Arch.php to ignore additional functions in presets
This commit is contained in:
@ -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')
|
||||
|
||||
Reference in New Issue
Block a user