Skip to content

Commit

Permalink
Add composer-unused.php
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jul 12, 2023
1 parent 034146e commit d0ab2ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions composer-unused.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

declare(strict_types=1);

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

return static function (Configuration $config): Configuration {
return $config
->addNamedFilter(NamedFilter::fromString('sylius/grid-bundle')) // We use this for creating the grids in the backend
;
};
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"require-dev": {
"api-platform/core": "^2.7.13",
"behat/behat": "^3.13",
"icanhazstring/composer-unused": "^0.8.10",
"matthiasnoback/symfony-config-test": "^4.3",
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
"php-http/message-factory": "^1.1",
Expand Down

0 comments on commit d0ab2ad

Please sign in to comment.