mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
feat: adds toHaveFileSystemPermissions expectation
This commit is contained in:
@ -37,5 +37,11 @@ final class Security extends AbstractPreset
|
||||
'dl',
|
||||
'assert',
|
||||
])->not->toBeUsed();
|
||||
|
||||
foreach ($this->userNamespaces as $namespace) {
|
||||
$this->expectations[] = expect($namespace)
|
||||
->not
|
||||
->toHaveFileSystemPermissions('0777');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user