Skip to content

Commit

Permalink
update composer-dependency-analyser
Browse files Browse the repository at this point in the history
add exclude for ext-dom
  • Loading branch information
gennadigennadigennadi committed Dec 15, 2024
1 parent 5755254 commit 1a5cc02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1a5cc02

Please sign in to comment.