Skip to content

ComposerDependencyAnalyserConfig

github-actions edited this page Apr 20, 2026 · 1 revision

Provides the default Composer Dependency Analyser configuration.

Consumers can use this as a starting point and extend it:

return \FastForward\DevTools\Config\ComposerDependencyAnalyserConfig::configure( static function (\ShipMonk\ComposerDependencyAnalyser\Config\Configuration $configuration): void { $configuration->ignoreErrorsOnPackage( 'vendor/package', [\ShipMonk\ComposerDependencyAnalyser\Config\ErrorType::UNUSED_DEPENDENCY] ); } );


  • Full name: \FastForward\DevTools\Config\ComposerDependencyAnalyserConfig
  • This class is marked as final and can't be subclassed
  • This class is a Final class

See Also:

Methods

configure

Creates the default Composer Dependency Analyser configuration.

public static configure(callable|null $customize = null): \ShipMonk\ComposerDependencyAnalyser\Config\Configuration
  • This method is static. Parameters:
Parameter Type Description
$customize callable|null optional callback to customize the configuration

Return Value:

the configured analyser configuration


Clone this wiki locally