Skip to content

Commit d61a01f

Browse files
committed
chore: 誤記を訂正した
1 parent f685301 commit d61a01f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ PHPStanのCustom Rule開発環境サンプル
44
## ディレクトリ構成
55
```
66
.
7-
|-- phpstan.neon # config(実行したいCustom Ruleをここで指定する)
8-
|-- src
9-
| `-- SomeClass.php # 解析対象のコード
107
|-- Rules
11-
| `-- MyRule.php # カスタムルール
12-
`-- Tests
13-
`-- MyRuleTest
14-
|-- data
15-
| `-- my-rule.php # テストデータ
16-
`-- MyRuleTest.php # テストコード
8+
| `-- MyRule.php # カスタムルール
9+
|-- Tests
10+
| `-- MyRuleTest
11+
| |-- data
12+
| | `-- my-rule.php # テストデータ
13+
| `-- MyRuleTest.php # テストコード
14+
|-- src
15+
| `-- SomeClass.php # 解析対象のコード
16+
`-- phpstan.neon # config(実行したいCustom Ruleをここで指定する)
1717
```
1818

1919
## 参考
@@ -31,7 +31,7 @@ make run
3131
make clean
3232
```
3333

34-
## Rector実行
34+
## 解析実行
3535
```
3636
XDEBUG_MODE=off ./vendor/bin/phpstan analyze -l 0 src
3737
XDEBUG_MODE=off ./vendor/bin/phpstan analyse -l 0 --debug src
@@ -44,7 +44,7 @@ XDEBUG_MODE=off ./vendor/bin/phpunit Tests
4444
```
4545

4646
### デバッグ
47-
rector.phpを修正して並行処理を無効化してから`--xdebug`オプションを付けて実行する。
47+
`--xdebug`オプションを付けて実行する。並行処理を無効化するため`--debug`オプションも付ける
4848
```
4949
./vendor/bin/phpstan analyze --debug --xdebug -l 0 src
5050
```

0 commit comments

Comments
 (0)