add new chinese translations
This commit is contained in:
32
pages.zh/common/phploc.md
Normal file
32
pages.zh/common/phploc.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# phploc
|
||||
|
||||
> 快速测量 PHP 项目的大小并分析其结构。
|
||||
> 更多信息:<https://github.com/sebastianbergmann/phploc>。
|
||||
|
||||
- 分析一个目录并打印结果:
|
||||
|
||||
`phploc {{path/to/directory}}`
|
||||
|
||||
- 仅包含逗号分隔列表中的特定文件(允许使用通配符):
|
||||
|
||||
`phploc {{path/to/directory}} --names '{{path/to/file1,path/to/file2,...}}'`
|
||||
|
||||
- 从逗号分隔列表中排除特定文件(允许使用通配符):
|
||||
|
||||
`phploc {{path/to/directory}} --names-exclude '{{path/to/file1,path/to/file2,...}}'`
|
||||
|
||||
- 从分析中排除特定目录:
|
||||
|
||||
`phploc {{path/to/directory}} --exclude {{path/to/exclude_directory}}`
|
||||
|
||||
- 将结果记录到特定的 CSV 文件中:
|
||||
|
||||
`phploc {{path/to/directory}} --log-csv {{path/to/file}}`
|
||||
|
||||
- 将结果记录到特定的 XML 文件中:
|
||||
|
||||
`phploc {{path/to/directory}} --log-xml {{path/to/file}}`
|
||||
|
||||
- 计数 PHPUnit 测试用例类和测试方法:
|
||||
|
||||
`phploc {{path/to/directory}} --count-tests`
|
Reference in New Issue
Block a user