Skip to content

Commit

Permalink
Ignore false-positive
Browse files Browse the repository at this point in the history
For some weird reason this package is marked as unused but we definitely
have references to it.

More info: composer-unused/composer-unused#326

Signed-off-by: Luís Cobucci <[email protected]>
  • Loading branch information
lcobucci committed Aug 9, 2022
1 parent 13afa48 commit 8eb31cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions composer-unused.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);

use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;

return static fn(Configuration $config): Configuration => $config
->addNamedFilter(NamedFilter::fromString('ext-json')) // this is a false-positive
->addNamedFilter(NamedFilter::fromString('psr/http-server-middleware ')); // this is a false-positive

0 comments on commit 8eb31cc

Please sign in to comment.