mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +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([
|
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')
|
||||||
|
|||||||
Reference in New Issue
Block a user