Skip to content

Commit

Permalink
Merge pull request #460 from lcobucci/add-known-unused-package
Browse files Browse the repository at this point in the history
Add known unused package
  • Loading branch information
lcobucci authored Feb 20, 2022
2 parents e8372c6 + 85edeb5 commit fc362a4
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 325 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
/composer.lock export-ignore
/mkdocs.yml export-ignore
/Makefile export-ignore
/composer-unused.php export-ignore
8 changes: 8 additions & 0 deletions composer-unused.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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('symfony/expression-language'));
23 changes: 14 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
"homepage": "https://github.com/lcobucci/di-builder",
"require": {
"php": "^8.0",
"symfony/config": "^5.4",
"symfony/dependency-injection": "^5.4",
"symfony/expression-language": "^5.4"
"symfony/config": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/expression-language": "^6.0"
},
"require-dev": {
"infection/infection": "^0.26",
"lcobucci/coding-standard": "^8.0",
"mikey179/vfsstream": "^1.6.10",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"symfony/proxy-manager-bridge": "^5.4",
"symfony/yaml": "^5.4"
"symfony/proxy-manager-bridge": "^6.0",
"symfony/yaml": "^6.0"
},
"replace": {
"symfony/polyfill-php71": "*",
Expand All @@ -56,6 +56,11 @@
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"infection/extension-installer": true
},
"preferred-install": "dist",
"sort-packages": true
}
Expand Down
Loading

0 comments on commit fc362a4

Please sign in to comment.