From 7a9702cffa05a55eac1301cd1150f6f619a32fde Mon Sep 17 00:00:00 2001 From: aminovfariz Date: Tue, 23 Jun 2026 09:37:20 +0200 Subject: [PATCH] fix(phpstan): remove stale Flash::add() baseline suppression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Security module now calls Flash::add() directly (for 'warning' type), so PHPStan no longer reports it as unused — the baseline entry became unmatched. Co-Authored-By: Claude Sonnet 4.6 --- phpstan-baseline.neon | 6 ------ 1 file changed, 6 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a670743..4d30180 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1374,12 +1374,6 @@ parameters: count: 1 path: core/Service/User/UserTenantContextService.php - - - message: '#^Public method "MintyPHP\\Support\\Flash\:\:add\(\)" is never used$#' - identifier: public.method.unused - count: 1 - path: core/Support/Flash.php - - message: '#^Public method "MintyPHP\\Support\\Flash\:\:dismissByKey\(\)" is never used$#' identifier: public.method.unused