Skip to content

Commit

Permalink
Update composer-require-checker and scripts
Browse files Browse the repository at this point in the history
The `composer.json` and `composer.lock` files have been updated, adding the `maglnet/composer-require-checker` package. Also updated the `req-check` script path in `composer.json`.  Simplified the `composer-require-checker.json` by removing redundant dependencies.
  • Loading branch information
koriym committed May 23, 2024
1 parent 41750da commit 699f145
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 22 deletions.
17 changes: 3 additions & 14 deletions composer-require-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,8 @@
"static", "self", "parent",
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object",
"Attribute", "ReflectionAttribute",
"Ray\\Di\\AbstractModule", "Ray\\Di\\Annotation\\ScriptDir",
"Ray\\Di\\Argument", "Ray\\Di\\Arguments",
"Ray\\Di\\AssistedModule", "Ray\\Di\\Bind",
"Ray\\Di\\Container", "Ray\\Di\\Dependency",
"Ray\\Di\\DependencyInterface","Ray\\Di\\DependencyProvider",
"Ray\\Di\\Di\\Qualifier", "Ray\\Di\\Exception\\NotFound",
"Ray\\Di\\Exception\\Unbound", "Ray\\Di\\InjectionPointInterface",
"Ray\\Di\\Injector", "Ray\\Di\\InjectorInterface", "Ray\\Di\\Instance",
"Ray\\Di\\MultiBinding\\Map", "Ray\\Di\\MultiBinding\\MapProvider",
"Ray\\Di\\Name", "Ray\\Di\\NullCache",
"Ray\\Di\\NullModule", "Ray\\Di\\NullObjectDependency",
"Ray\\Di\\ProviderInterface", "Ray\\Di\\ProviderSetModule",
"Ray\\Di\\SetContextInterface"

"Doctrine\\Common\\Annotations\\Reader",
"Doctrine\\Common\\Cache\\CacheProvider",
"Koriym\\Printo\\Printo"
]
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"metrics": ["@test", "phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"],
"phpmd": ["phpmd src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"],
"req-check": ["./vendor-bin/tools/vendor/bin/composer-require-checker"]
"req-check": ["./vendor/bin/composer-require-checker"]
},
"extra": {
"bamarni-bin": {
Expand Down
3 changes: 2 additions & 1 deletion vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"phpstan/phpstan": "^1.0",
"psalm/plugin-phpunit": "^0.13",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2"
"vimeo/psalm": "^4.2",
"maglnet/composer-require-checker": "^4.11"
},
"config": {
"allow-plugins": {
Expand Down
142 changes: 136 additions & 6 deletions vendor-bin/tools/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 699f145

Please sign in to comment.