diff --git a/composer-dependency-analyser.php b/composer-dependency-analyser.php index ed055cdd..16ffc06c 100644 --- a/composer-dependency-analyser.php +++ b/composer-dependency-analyser.php @@ -7,4 +7,5 @@ return $config ->addPathToScan(__DIR__ . '/bin/deptrac', isDev: false) + ->ignoreErrorsOnExtension('ext-dom', [ErrorType::SHADOW_DEPENDENCY]) ->ignoreErrorsOnPath(__DIR__ . '/tests', [ErrorType::UNKNOWN_CLASS, ErrorType::UNKNOWN_FUNCTION]); // keep ability to test invalid symbols