From f694539a0b7b4f1526bde7d45da2ebdd2ceb35f5 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 11 May 2020 08:46:01 +0900 Subject: [PATCH] ignore switch with only default call --- www/lib/CoreLibs/Admin/Backend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/lib/CoreLibs/Admin/Backend.php b/www/lib/CoreLibs/Admin/Backend.php index 0c49d891..ed4c8e15 100644 --- a/www/lib/CoreLibs/Admin/Backend.php +++ b/www/lib/CoreLibs/Admin/Backend.php @@ -340,6 +340,7 @@ class Backend extends \CoreLibs\DB\IO if ($filename === null) { return $enabled; } + /** @phan-suppress-next-line PhanNoopSwitchCases */ switch ($filename) { default: $enabled = true;