phpstan / phpstan-strict-rules

Extra strict and opinionated rules for PHPStan
MIT License
592 stars 46 forks source link

Missing `#[Override]` #219

Closed mvorisek closed 1 year ago

mvorisek commented 1 year ago

https://wiki.php.net/rfc/marking_overriden_methods was accepted and the impl. was merged into PHP 8.3

This is a feature request to report missing #[Override] if phpstan detects the method is declared in parent class or interface.

ondrejmirtes commented 1 year ago

I don't want strict-rules to report this. You can always implement your custom rule 😊

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.