Open CrochetFeve0251 opened 5 days ago
The problem was described here: https://github.com/wp-media/wp-rocket/issues/6550 Describe the solution you'd like We need to create a custom PHPStan rule to detect this kind of usage.
A similar rule was created inside Launchpad but it is not adapted to WP Rocket syntax: https://github.com/wp-launchpad/launchpad-phpstan/blob/main/src/PerformanceRule.php
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
The problem was described here: https://github.com/wp-media/wp-rocket/issues/6550 Describe the solution you'd like We need to create a custom PHPStan rule to detect this kind of usage.
A similar rule was created inside Launchpad but it is not adapted to WP Rocket syntax: https://github.com/wp-launchpad/launchpad-phpstan/blob/main/src/PerformanceRule.php
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.