ignore PHPStan error in deprecated code

This commit is contained in:
Art4 2025-03-13 12:26:16 +00:00
parent a63babc658
commit 2dfd7c83cf

View file

@ -257,6 +257,7 @@ class ConfigFileManager
// map the legacy configuration structure to the current structure // map the legacy configuration structure to the current structure
foreach ($htConfigCategories as $htConfigCategory) { foreach ($htConfigCategories as $htConfigCategory) {
/** @phpstan-ignore-next-line $a->config could be modified after `include $fullName` */
if (is_array($a->config[$htConfigCategory])) { if (is_array($a->config[$htConfigCategory])) {
$keys = array_keys($a->config[$htConfigCategory]); $keys = array_keys($a->config[$htConfigCategory]);