From 7414945a17f09c6a497958e888dfe128a6bfcd4d Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Sat, 3 Feb 2024 13:06:12 +1300 Subject: [PATCH] Add InvalidOverride issue --- docs/running_psalm/issues/InvalidOverride.md | 24 ++++++++++++++++++++ src/Psalm/Issue/InvalidOverride.php | 9 ++++++++ 2 files changed, 33 insertions(+) create mode 100644 docs/running_psalm/issues/InvalidOverride.md create mode 100644 src/Psalm/Issue/InvalidOverride.php diff --git a/docs/running_psalm/issues/InvalidOverride.md b/docs/running_psalm/issues/InvalidOverride.md new file mode 100644 index 00000000000..55423a6e574 --- /dev/null +++ b/docs/running_psalm/issues/InvalidOverride.md @@ -0,0 +1,24 @@ +# InvalidOverride + +Emitted when an `Override` attribute was added to a method that does not override a method from a parent class or implemented interface. + +```php +