Skip to content

AllowParams support

Choose a tag to compare

@spaze spaze released this 25 Aug 21:52
6656128

Now you can allow calls with specified parameters while calls with different parameters would still be disallowed (#1)

Don't forget that since 0.12.2, you need to add DisallowedHelper to your services section in phpstan.neon:

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