1.2.0
New features
- New rule
EnforceReadonlyPublicPropertyRule
for protecting all your public properties by requiring readonly modifier - New rule
ForbidAssignmentNotMatchingVarDocRule
that verifies if the assignment to the variable with inline phpdoc matches the type - New rule
ForbidUnusedMatchResultRule
detecting forgotten usage of match result - New rule
ForbidNullInBinaryOperationsRule
to ensure no null value is involved in binary operations - New rule
ForbidVariableTypeOverwritingRule
denying type change when overwriting variables