add new chinese translations
This commit is contained in:
24
pages.zh/common/pint.md
Normal file
24
pages.zh/common/pint.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Pint
|
||||
|
||||
> 基于 PHP-CS-Fixer 的一种有意见的 PHP 代码风格修复工具。
|
||||
> 更多信息:<https://laravel.com/docs/pint>。
|
||||
|
||||
- 执行代码风格修复:
|
||||
|
||||
`pint`
|
||||
|
||||
- 显示所有被更改的文件:
|
||||
|
||||
`pint -v`
|
||||
|
||||
- 执行代码风格检查而不应用更改:
|
||||
|
||||
`pint --test`
|
||||
|
||||
- 使用特定配置文件执行代码风格修复:
|
||||
|
||||
`pint --config {{path/to/pint.json}}`
|
||||
|
||||
- 使用特定预设执行代码风格修复:
|
||||
|
||||
`pint --preset {{psr12}}`
|
Reference in New Issue
Block a user