mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-03 23:53:29 +08:00
docs(zh-CN): sync Chinese docs with latest upstream changes
This commit is contained in:
@@ -26,6 +26,11 @@ paths:
|
||||
* 使用 **PHPStan** 或 **Psalm** 进行静态分析。
|
||||
* 将 Composer 脚本纳入版本控制,以便在本地和 CI 中运行相同的命令。
|
||||
|
||||
## 导入
|
||||
|
||||
* 为所有引用的类、接口和特征添加 `use` 语句。
|
||||
* 避免依赖全局命名空间,除非项目明确偏好使用完全限定名称。
|
||||
|
||||
## 错误处理
|
||||
|
||||
* 对于异常状态抛出异常;避免在新代码中返回 `false`/`null` 作为隐藏的错误通道。
|
||||
|
||||
Reference in New Issue
Block a user