Skip to content

Commit defd81e

Browse files
committed
Add false positives
1 parent 6698543 commit defd81e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

composer-dependency-analyser.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
6+
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;
47

58
return (new Configuration())
69
->addPathToExclude(__DIR__ . '/tests')
10+
->ignoreErrorsOnPackage('psr/http-client-implementation', [ErrorType::UNUSED_DEPENDENCY])
11+
->ignoreErrorsOnPackage('psr/http-factory-implementation', [ErrorType::UNUSED_DEPENDENCY])
712
;

0 commit comments

Comments
 (0)