Skip to content

Commit

Permalink
Add vendor-bin tools to composer.json
Browse files Browse the repository at this point in the history
This commit introduces a new `vendor-bin/tools/composer.json` file to manage development dependencies. The file includes tools such as Doctrine Coding Standard, PHP Mess Detector, and others to improve code quality and standard consistency. Additionally, the corresponding `composer.lock` file has been generated.
  • Loading branch information
koriym committed Nov 24, 2024
1 parent e2a47da commit 0daefff
Show file tree
Hide file tree
Showing 3 changed files with 2,904 additions and 7 deletions.
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,17 @@
},
"require-dev": {
"ext-redis": "*",
"doctrine/coding-standard": "^12.0",
"bamarni/composer-bin-plugin": "^1.8",
"koriym/attributes": "^1.0.1",
"madapaja/twig-module": "^2.3",
"phpmd/phpmd": "^2.13",
"phpmetrics/phpmetrics": "^2.8",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5.28",
"psalm/plugin-phpunit": "^0.19.0",
"predis/predis": "^2.2",
"ray/object-visual-grapher": "^1.0",
"ray/rector-ray": "^1.0",
"rector/rector": "^1.2.4",
"squizlabs/php_codesniffer": "^3.7",
"symfony/process": "^4.3 || ^5.4 || ^6.1 || ^7.1",
"twig/twig": "^2.15.3 || ^3.4.3",
"vimeo/psalm": "^5.6"
"twig/twig": "^2.15.3 || ^3.4.3"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -87,5 +82,11 @@
"metrics": ["./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --junit=build/junit.xml src"],
"phpmd": ["./vendor/bin/phpmd --exclude src/Annotation src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}
14 changes: 14 additions & 0 deletions vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"require-dev": {
"doctrine/coding-standard": "^12.0",
"phpmd/phpmd": "^2.15",
"phpmetrics/phpmetrics": "^2.8",
"phpstan/phpstan": "^2.0",
"vimeo/psalm": "^5.26"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit 0daefff

Please sign in to comment.