-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
Progress: good first issueIssues is easy to get started withIssues is easy to get started withacceptedNew rule is acceptedNew rule is acceptednew ruleNew feature implementationNew feature implementationtechnical guidelinesThe rule is based on Magento Technical GuidelinesThe rule is based on Magento Technical Guidelines
Description
Rule
Abstract classes MUST NOT be marked as public @api
.
Reason
Source: Magento Technical Guidelines.
Interfaces should be used instead because Magento follows Composition over Inheritance principle.
Implementation
- Subscribe to
T_CLASS
token. - Analyse its PHPDoc block and try find
@api
annotation.
Metadata
Metadata
Assignees
Labels
Progress: good first issueIssues is easy to get started withIssues is easy to get started withacceptedNew rule is acceptedNew rule is acceptednew ruleNew feature implementationNew feature implementationtechnical guidelinesThe rule is based on Magento Technical GuidelinesThe rule is based on Magento Technical Guidelines