-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomposer-unused.php
24 lines (21 loc) · 1022 Bytes
/
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
<?php
declare(strict_types=1);
use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
use Webmozart\Glob\Glob;
return static function (Configuration $config): Configuration {
return $config
->addNamedFilter(NamedFilter::fromString('ext-apcu'))
->addNamedFilter(NamedFilter::fromString('league/html-to-markdown'))
->addNamedFilter(NamedFilter::fromString('ml/json-ld')) // Used by sweetrdf/easyrdf
->addNamedFilter(NamedFilter::fromString('symfony/dotenv'))
->addNamedFilter(NamedFilter::fromString('symfony/flex'))
->addNamedFilter(NamedFilter::fromString('symfony/runtime'))
->addNamedFilter(NamedFilter::fromString('twig/inky-extra'))
->addNamedFilter(NamedFilter::fromString('twig/intl-extra'))
->setAdditionalFilesFor('drenso/013-living-textbook', [
__FILE__,
...Glob::glob(__DIR__ . '/config/**/*.php'),
...Glob::glob(__DIR__ . '/public/*.php'),
]);
};