-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcomposer-unused.php
26 lines (23 loc) · 1.23 KB
/
composer-unused.php
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
<?php
declare(strict_types=1);
use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
use ComposerUnused\ComposerUnused\Configuration\PatternFilter;
use Webmozart\Glob\Glob;
return static function (Configuration $config): Configuration {
return $config
->addNamedFilter(NamedFilter::fromString("slim/slim"))
->addNamedFilter(NamedFilter::fromString("quantimodo/docs"))
->addNamedFilter(NamedFilter::fromString("mikepsinn/php-highcharts-exporter"))
->addNamedFilter(NamedFilter::fromString("ghunti/highcharts-php"))
->addNamedFilter(NamedFilter::fromString("cmfcmf/openweathermap-php-api"))
->addNamedFilter(NamedFilter::fromString("eristemena/dialogflow-fulfillment-webhook-php"))
->addNamedFilter(NamedFilter::fromString("phpunitgen/console"))
->addNamedFilter(NamedFilter::fromString("laravel/dusk"))
->addNamedFilter(NamedFilter::fromString("barryvdh/laravel-ide-helper"))
// ->addPatternFilter(PatternFilter::fromString('/symfony\/.*/'))
->setAdditionalFilesFor('icanhazstring/composer-unused', [
__FILE__,
...Glob::glob(__DIR__ . '/config/*.php'),
]);
};