refactor(ui): collapse Tile static class into appTile() helper

Align dashboard-tile primitive with the established helper-function +
partial convention (like tokenSelectForm / multiSelectForm). Keeps the
reusable substance (app-tile.phtml, .app-tile CSS) and makes the
primitive discoverable for modules via core/Support/helpers/ui.php.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 16:23:05 +02:00
parent 0002c07755
commit d9ed4ab5b4
5 changed files with 88 additions and 83 deletions

View File

@@ -1428,12 +1428,6 @@ parameters:
count: 1
path: core/Support/SearchConfig.php
-
message: '#^Public method "MintyPHP\\Support\\Tile\:\:render\(\)" is never used$#'
identifier: public.method.unused
count: 1
path: core/Support/Tile.php
-
message: '#^Public constant "MintyPHP\\Module\\AddressBook\\AddressBookAuthorizationPolicy\:\:PERMISSION_KEY" is never used$#'
identifier: public.classConstant.unused