From b5105054805e335453f0751a44077718b6475a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=A8rejean?= Date: Mon, 22 Jun 2026 15:46:49 +0200 Subject: [PATCH] chore: add @see test annotations to satisfy rector AddSeeTestAnnotationRector (part of the configured rector set) requires model classes with corresponding tests to carry an @see annotation pointing at their test class. This restores a green `make rector-dry`. Verified with `make rector-dry` (Rector is done!) and `make analyse` (no errors). --- src/Model/Menu.php | 1 + src/Model/MenuItem.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Model/Menu.php b/src/Model/Menu.php index 7bb5220..6b28643 100755 --- a/src/Model/Menu.php +++ b/src/Model/Menu.php @@ -21,6 +21,7 @@ * @property string $Title * @property string $Slug * @method HasManyList Items() + * @see \WeDevelop\Menustructure\Tests\Model\MenuTest */ class Menu extends DataObject implements TemplateGlobalProvider { diff --git a/src/Model/MenuItem.php b/src/Model/MenuItem.php index 4b91ad4..435bfa0 100644 --- a/src/Model/MenuItem.php +++ b/src/Model/MenuItem.php @@ -33,6 +33,7 @@ * @method MenuItem ParentItem() * @method HasManyList Items() * @method SiteTree LinkedPage() + * @see \WeDevelop\Menustructure\Tests\Model\MenuItemTest */ class MenuItem extends DataObject {