Skip to content

Commit

Permalink
phpmetricsとcomposer-bin-pluginの廃止
Browse files Browse the repository at this point in the history
  • Loading branch information
KentarouTakeda committed May 24, 2024
1 parent c0238cf commit 8aa3ccb
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 24 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@
* 結果は *public/docs/coverage/* へ出力されます。
* 実行には [PCOV](https://github.com/krakjoe/pcov) が必要です。

### [PhpMetrics](https://github.com/phpmetrics/PhpMetrics)

* `composer phpmetrics` でコードのメトリクス解析レポートを生成できます。
* 結果は *public/docs/phpmetrics/* へ出力されます。

### [PHP Insights](https://github.com/nunomaduro/phpinsights)

* `./artisan insights` でコード品質レポートが表示されます。

### [husky](https://github.com/typicode/husky) / [run-if-changed](https://www.npmjs.com/package/run-if-changed) によるGitフック

commit / checkout / merge 等の操作が行われた場合git-hookにより自動的に次の動作が行われます。
Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"laravel/tinker": "^2.9"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
"barryvdh/laravel-debugbar": "^3.5",
"barryvdh/laravel-ide-helper": "^3.0",
"beyondcode/laravel-dump-server": "^2.0.0",
Expand All @@ -26,7 +25,8 @@
"phpstan/phpstan-mockery": "^1.1",
"phpunit/php-code-coverage": "^11.0",
"phpunit/phpunit": "^11.0.1",
"spatie/laravel-ignition": "^2.4"
"spatie/laravel-ignition": "^2.4",
"spatie/phpunit-watcher": "^1.24"
},
"autoload": {
"psr-4": {
Expand All @@ -43,7 +43,6 @@
"scripts": {
"test": "@php artisan test -p",
"coverage": "@php -d pcov.enabled vendor/bin/phpunit --coverage-html public/docs/coverage tests",
"phpmetrics": "phpmetrics --report-html=public/docs/phpmetrics/ app",
"phpstan": "phpstan analyze",
"watch": "phpunit-watcher watch",
"post-autoload-dump": [
Expand Down Expand Up @@ -82,7 +81,6 @@
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"pestphp/pest-plugin": true,
"php-http/discovery": true
Expand Down
1 change: 0 additions & 1 deletion vendor-bin/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions vendor-bin/phpmetrics/composer.json

This file was deleted.

5 changes: 0 additions & 5 deletions vendor-bin/phpunit-watcher/composer.json

This file was deleted.

0 comments on commit 8aa3ccb

Please sign in to comment.