From 5449e41c66e48d62db654437e0b47bbb4423534f Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Wed, 18 Dec 2024 10:30:23 +0100 Subject: [PATCH] CS fix --- .phpstan-baseline.php | 6 ------ src/Glpi/Console/Application.php | 5 ----- 2 files changed, 11 deletions(-) diff --git a/.phpstan-baseline.php b/.phpstan-baseline.php index 5fcffc0431a..5f2e2f501e1 100644 --- a/.phpstan-baseline.php +++ b/.phpstan-baseline.php @@ -2437,12 +2437,6 @@ 'count' => 1, 'path' => __DIR__ . '/src/Glpi/Console/Application.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Access to an undefined property Glpi\\\\Console\\\\Application::\\$booted#', - 'identifier' => 'property.notFound', - 'count' => 1, - 'path' => __DIR__ . '/src/Glpi/Console/Application.php', -]; $ignoreErrors[] = [ 'message' => '#^Property Glpi\\\\Console\\\\Application\\:\\:\\$error_handler is unused\\.$#', 'identifier' => 'property.unused', diff --git a/src/Glpi/Console/Application.php b/src/Glpi/Console/Application.php index 6dbf0f90fa8..73b02f6a88e 100644 --- a/src/Glpi/Console/Application.php +++ b/src/Glpi/Console/Application.php @@ -92,11 +92,6 @@ class Application extends BaseApplication */ private $config; - /** - * @var ErrorHandler - */ - private $error_handler; - private ?DBmysql $db = null; /**