2 Open Issues Need Help Last updated: Aug 4, 2025

Open Issues Need Help

View All on GitHub
Developer Tools Static Analysis Tools

AI Summary: Implement a new PHPStan rule, `LongClassName` (or potentially separate rules for classes, interfaces, traits, and enums), that checks for excessively long class, interface, trait, and enum names. The rule should be configurable to specify a maximum length, and allow for the subtraction of prefixes and suffixes from the name length before the check.

Complexity: 4/5
enhancement help wanted hacktoberfest
Developer Tools Static Analysis Tools

AI Summary: Optimize the performance of the `ShortVariableRule` in the PHPStan extension "Messed Up PHPStan". The current implementation, using `PhpParser\Node` as the node type, is inefficient. The task involves investigating alternative approaches, such as creating separate rules for different variable types (local, for loop, foreach loop, catch block) or utilizing custom visitors to improve performance. This may involve refactoring the existing rule and potentially changing its configuration options.

Complexity: 4/5
enhancement help wanted hacktoberfest