top-think / top-think/think-orm
1.2.17挺好用,但有两处需要修复下
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
- db/Query.php文件559行{}需要换成[],兼容php7.4
- Model.php文件164行,$suffix获取方式建议$config['class_suffix']直接设置$suffix的值,方便兼容更多目录格式。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading db/Query.php around line 559 and Model.php around line 164. Check the requested PHP 7.4 syntax compatibility and how config['class_suffix'] is used for different directory formats. Done means both compatibility changes are applied without breaking the ORM behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100