An exception class should be added
还没有人认领这个 Issue。
评估
调研方向
首先阅读 ShapeFile 和 ShapeRecord 类,重点关注 $lastError 属性和 setError() 方法。追踪这些错误路径的使用位置,并检查现有的测试覆盖率。当错误不再依赖这些属性或方法,而是通过一致的异常类表示时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Instead of adding errors using the ShapeFile::$lastError and ShapeRecord::$lastError properties and the ShapeFile::setError() and ShapeRecord::setError() methods, an exception should be thrown.
- 主要语言
- PHP
- 星标
- 28
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
phpmyadmin/shapefile 的其他 Issue
-
enhancement
难度 3/5 1-2 天 新手友好度 38/100
phpmyadmin/shapefile#42 · 2 条评论 ·
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 35/100
phpmyadmin/shapefile#31 · 1 条评论 · 1 个 reaction ·
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 42/100
phpmyadmin/shapefile#30 · 1 个 reaction ·
查看 phpmyadmin/shapefile 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
api-platform/core#8649 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 84/100
open-telemetry/opentelemetry-php#2071 ·
维护者通常 1 天内回复
-
bug No Code Attached Yet
难度 2/5 1-3 小时 新手友好度 82/100
joomla/joomla-cms#48587 ·
维护者通常 1 天内回复
-
priority:low type:docs
难度 1/5 1 小时以内 新手友好度 88/100
crazy-goat/rabbit-stream#662 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
FOSSBilling/FOSSBilling#4498 ·
维护者通常 1 天内回复