mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
33 lines
775 B
Markdown
33 lines
775 B
Markdown
![]() |
# phan
|
||
|
|
||
|
> PHP용 정적 분석 도구.
|
||
|
> 더 많은 정보: <https://github.com/phan/phan>.
|
||
|
|
||
|
- 현재 디렉터리에 `.phan/config.php` 생성:
|
||
|
|
||
|
`phan --init`
|
||
|
|
||
|
- 특정 레벨을 사용하여 Phan 구성 파일 생성 (1이 가장 엄격하고 5가 가장 덜 엄격함):
|
||
|
|
||
|
`phan --init --init-level {{레벨}}`
|
||
|
|
||
|
- 현재 디렉터리 분석:
|
||
|
|
||
|
`phan`
|
||
|
|
||
|
- 하나 이상의 디렉터리 분석:
|
||
|
|
||
|
`phan --directory {{경로/대상/폴더}} --directory {{경로/대상/다른_폴더}}`
|
||
|
|
||
|
- 구성 파일 지정 (기본값은 `.phan/config.php`):
|
||
|
|
||
|
`phan --config-file {{경로/대상/config.php}}`
|
||
|
|
||
|
- 출력 모드 지정:
|
||
|
|
||
|
`phan --output-mode {{text|verbose|json|csv|codeclimate|checkstyle|pylint|html}}`
|
||
|
|
||
|
- 병렬 프로세스 수 지정:
|
||
|
|
||
|
`phan --processes {{프로세스_수}}`
|