-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
new ruleNew feature implementationNew feature implementation
Description
Problem
Magento2.PHP.DateTime.Overcomplicated
relies on class name only and does not any additional checks (like instanceof
). This causes false-positive findings.
Solution
Remove Magento2.PHP.DateTime.Overcomplicated
sniff from Magento Coding Standard.
Implement this check using static tool that can analyze extended class info (PHPStan).
Keep the ticket open to track the rule implementation.
Metadata
Metadata
Assignees
Labels
new ruleNew feature implementationNew feature implementation