Given a configuration like this for example:
disallowedFunctionCalls:
-
function: 'pcntl_*()'
allowIn:
- vendor/foo/bar/Baz.php
when any pcntl call is not found in vendor/foo/bar/Baz.php, report error and suggest removing the allowIn item to keep the config clean and up to date.
This is similar to what PHPStan reports when a ignoreErrors error wasn't hit.
Given a configuration like this for example:
when any
pcntlcall is not found invendor/foo/bar/Baz.php, report error and suggest removing theallowInitem to keep the config clean and up to date.This is similar to what PHPStan reports when a
ignoreErrorserror wasn't hit.