mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-24 22:36:12 +01:00
tea/composer-unused.php
Felix Althaus 93d8c3c781
[FEATURE] Include composer-unused to find unused packages (#1382)
typo3/cms-fluid and typo3/cms-frontend are ignored because
of their indirect usage.

Fixes: #348
2024-07-29 19:20:24 +02:00

12 lines
394 B
PHP

<?php
declare(strict_types=1);
use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
return static function (Configuration $config): Configuration {
$config->addNamedFilter(NamedFilter::fromString('typo3/cms-fluid'));
$config->addNamedFilter(NamedFilter::fromString('typo3/cms-frontend'));
return $config;
};