File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 6767 fi
6868
6969 - name : Detect unused packages
70- run : composer-unused -vvv --ansi --no-interaction --no-progress --excludePackage=php
70+ run : composer-unused -vvv --output-format=github -- ansi --no-interaction --no-progress
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use ComposerUnused \ComposerUnused \Configuration \Configuration ;
6+ use ComposerUnused \ComposerUnused \Configuration \NamedFilter ;
7+ use ComposerUnused \ComposerUnused \Configuration \PatternFilter ;
8+ use Webmozart \Glob \Glob ;
9+
10+ return static function (Configuration $ config ): Configuration {
11+ return $ config
12+ // ->addNamedFilter(NamedFilter::fromString('symfony/config'))
13+ // ->addPatternFilter(PatternFilter::fromString('/symfony-.*/'))
14+ ->setAdditionalFilesFor ('codeigniter4/framework ' , [
15+ ...Glob::glob (__DIR__ . '/vendor/codeigniter4/framework/system/Helpers/*.php ' ),
16+ ]);
17+ };
You can’t perform that action at this time.
0 commit comments