Skip to content

Commit 79aae6a

Browse files
committed
chore: ignore unused and shadow dependency findings
1 parent 96c99e4 commit 79aae6a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

composer-dependency-analyser.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* Fast Forward Framework dependency analyzer overrides.
7+
*
8+
* This package is an aggregate meta package, so it intentionally carries
9+
* direct composer dependencies for consumer convenience and can trigger noisy
10+
* unused-dependency signals during CI. This override keeps dependency analysis
11+
* non-blocking for those compatibility findings.
12+
*/
13+
14+
use FastForward\DevTools\Config\ComposerDependencyAnalyserConfig;
15+
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
16+
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;
17+
18+
return ComposerDependencyAnalyserConfig::configure(
19+
static function (Configuration $configuration): void {
20+
$configuration->ignoreErrors([
21+
ErrorType::SHADOW_DEPENDENCY,
22+
ErrorType::UNUSED_DEPENDENCY,
23+
]);
24+
}
25+
);

0 commit comments

Comments
 (0)