Ban 'and' and 'or' operators via PHPStan

This commit is contained in:
Dylan K. Taylor
2022-01-20 16:43:58 +00:00
parent 86bcc49972
commit b60dd1e9b4
3 changed files with 90 additions and 0 deletions

View File

@ -12,6 +12,8 @@ includes:
rules:
- pocketmine\phpstan\rules\DisallowEnumComparisonRule
- pocketmine\phpstan\rules\DisallowLogicalAndOperatorRule
- pocketmine\phpstan\rules\DisallowLogicalOrOperatorRule
- pocketmine\phpstan\rules\UnsafeForeachArrayOfStringRule
# - pocketmine\phpstan\rules\ThreadedSupportedTypesRule