-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer-dependency-analyser.php
More file actions
27 lines (23 loc) · 1012 Bytes
/
composer-dependency-analyser.php
File metadata and controls
27 lines (23 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
declare(strict_types=1);
/**
* Fast Forward Framework — a lightweight PHP framework for building modern web applications with a simple and elegant API.
*
* This file is part of fast-forward/framework project.
*
* @author Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
* @license https://opensource.org/licenses/MIT MIT License
*
* @see https://php-fast-forward.github.io/framework/
* @see https://github.com/php-fast-forward/framework
* @see https://github.com/php-fast-forward/framework/issues
* @see https://datatracker.ietf.org/doc/html/rfc2119
*/
use FastForward\DevTools\Config\ComposerDependencyAnalyserConfig;
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;
return ComposerDependencyAnalyserConfig::configure(
static function (Configuration $configuration): void {
$configuration->ignoreErrors([ErrorType::SHADOW_DEPENDENCY, ErrorType::UNUSED_DEPENDENCY]);
}
);