From 039a6dc30da402c77fa32f532cf9e712d31a1ff1 Mon Sep 17 00:00:00 2001 From: Curtis Conard Date: Mon, 14 Oct 2024 11:09:29 -0400 Subject: [PATCH] remove fixed phpstan error --- .phpstan-baseline.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.phpstan-baseline.php b/.phpstan-baseline.php index c1f0fc50ebf..7a21e9a9b18 100644 --- a/.phpstan-baseline.php +++ b/.phpstan-baseline.php @@ -1867,12 +1867,6 @@ 'count' => 1, 'path' => __DIR__ . '/src/Glpi/Api/HL/Search.php', ]; -$ignoreErrors[] = [ - // identifier: nullCoalesce.offset - 'message' => '#^Offset \'GLPI_AJAX_DASHBOARD\'\\|\'GLPI_ALLOW_IFRAME…\'\\|\'GLPI_CACHE_DIR\'\\|\'GLPI_CALDAV_IMPORT…\'\\|\'GLPI_CENTRAL…\'\\|\'GLPI_CONFIG_DIR\'\\|\'GLPI_CRON_DIR\'\\|\'GLPI_DEMO_MODE\'\\|\'GLPI_DISABLE_ONLY…\'\\|\'GLPI_DOC_DIR\'\\|\'GLPI_DOCUMENTATION…\'\\|\'GLPI_DUMP_DIR\'\\|\'GLPI_ENVIRONMENT…\'\\|\'GLPI_GRAPH_DIR\'\\|\'GLPI_INSTALL_MODE\'\\|\'GLPI_INVENTORY_DIR\'\\|\'GLPI_LOCAL_I18N_DIR\'\\|\'GLPI_LOCK_DIR\'\\|\'GLPI_LOG_DIR\'\\|\'GLPI_MARKETPLACE…\'\\|\'GLPI_MARKETPLACE_DIR\'\\|\'GLPI_NETWORK_MAIL\'\\|\'GLPI_NETWORK…\'\\|\'GLPI_PICTURE_DIR\'\\|\'GLPI_PLUGIN_DOC_DIR\'\\|\'GLPI_RSS_DIR\'\\|\'GLPI_SERVERSIDE_URL…\'\\|\'GLPI_SESSION_DIR\'\\|\'GLPI_TELEMETRY_URI\'\\|\'GLPI_TEXT_MAXSIZE\'\\|\'GLPI_THEMES_DIR\'\\|\'GLPI_TMP_DIR\'\\|\'GLPI_UPLOAD_DIR\'\\|\'GLPI_USER_AGENT…\'\\|\'GLPI_VAR_DIR\'\\|\'PLUGINS_DIRECTORIES\' on array\\{\\} on left side of \\?\\? does not exist\\.$#', - 'count' => 2, - 'path' => __DIR__ . '/src/Glpi/Application/ConfigurationConstants.php', -]; $ignoreErrors[] = [ // identifier: parameter.defaultValue 'message' => '#^Default value of the parameter \\#2 \\$env \\(null\\) of method Glpi\\\\Application\\\\ErrorHandler\\:\\:__construct\\(\\) is incompatible with type string\\.$#',