From: Art4 Date: Thu, 13 Mar 2025 12:26:16 +0000 (+0000) Subject: ignore PHPStan error in deprecated code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2dfd7c83cf27cd80fef6c00384f075e4e2f90b56;p=friendica.git ignore PHPStan error in deprecated code --- diff --git a/src/Core/Config/Util/ConfigFileManager.php b/src/Core/Config/Util/ConfigFileManager.php index d76e3e53cd..96c416e4de 100644 --- a/src/Core/Config/Util/ConfigFileManager.php +++ b/src/Core/Config/Util/ConfigFileManager.php @@ -257,6 +257,7 @@ class ConfigFileManager // map the legacy configuration structure to the current structure foreach ($htConfigCategories as $htConfigCategory) { + /** @phpstan-ignore-next-line $a->config could be modified after `include $fullName` */ if (is_array($a->config[$htConfigCategory])) { $keys = array_keys($a->config[$htConfigCategory]);