Skip to content

AllowIn support

Compare
Choose a tag to compare
@spaze spaze released this 24 Aug 21:53
c6cb5c3

You can also allow some previously disallowed calls using the allowIn configuration key (#3)

You need to add DisallowedHelper to your services section in phpstan.neon:

services:
    - Spaze\PHPStan\Rules\Disallowed\DisallowedHelper