From 7ab50dc449251c18f36d9b7a18e0e52d28f2f587 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 15 Jan 2023 00:30:39 +0000 Subject: [PATCH] remove unused CoalesceAnalyzer --- src/NodeAnalyzer/CoalesceAnalyzer.php | 34 --------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/NodeAnalyzer/CoalesceAnalyzer.php diff --git a/src/NodeAnalyzer/CoalesceAnalyzer.php b/src/NodeAnalyzer/CoalesceAnalyzer.php deleted file mode 100644 index dc2240c2a7c..00000000000 --- a/src/NodeAnalyzer/CoalesceAnalyzer.php +++ /dev/null @@ -1,34 +0,0 @@ -> - */ - private const ISSETABLE_EXPR = [ - Variable::class, - ArrayDimFetch::class, - PropertyFetch::class, - StaticPropertyFetch::class, - ]; - - /** - * @api downgrade - */ - public function hasIssetableLeft(Coalesce $coalesce): bool - { - $leftClass = $coalesce->left::class; - return in_array($leftClass, self::ISSETABLE_EXPR, true); - } -}