diff --git a/.phive/phars.xml b/.phive/phars.xml index b3c9592eb..642921def 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 44e591c5d..2cdf248ea 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,15 +1,5 @@ - - - $partType - - - - - $query->query - - $this->_composerPaths @@ -27,9 +17,6 @@ - - ModelAwareTrait - $pos @@ -45,29 +32,10 @@ new $className($config) - - - $pluginName - $return['plugins'] - $return['vendor'] - $vendorName - - - - - $pluginName - $return['plugins'] - $return['vendor'] - $vendorName - - string|null - - $class - new $class($this, $config) @@ -78,19 +46,11 @@ - - makeNeatArray - new HtmlFormatter() dump - - $currentAncestors - $value - $values - diff --git a/psalm.xml b/psalm.xml index afe253290..60b81594c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -7,6 +7,9 @@ autoloader="tests/bootstrap.php" usePhpDocMethodsWithoutMagicCall="true" errorBaseline="psalm-baseline.xml" + findUnusedPsalmSuppress="true" + findUnusedBaselineEntry="true" + findUnusedCode="false" > diff --git a/src/Cache/Engine/DebugEngine.php b/src/Cache/Engine/DebugEngine.php index 46a839f50..d976fef2e 100644 --- a/src/Cache/Engine/DebugEngine.php +++ b/src/Cache/Engine/DebugEngine.php @@ -342,7 +342,6 @@ public function __toString(): string return str_replace('Engine', '', $class); } - /** @psalm-suppress UndefinedMethod */ return $this->_config['className']; } }