list_rules
Retrieve and filter Magento 2 coding standard rules by category, severity level, or search term to ensure code compliance.
Instructions
List all Magento coding standard rules. Can filter by category (Security, Legacy, PHP, Functions, Templates, Less, etc.), minimum severity (1-10), or search term.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category (Security, Legacy, PHP, Functions, Classes, Templates, Less, etc.) | |
| minSeverity | No | Minimum severity level (1-10, where 10 is most critical) | |
| searchTerm | No | Search in rule names and descriptions |