Rename `LeftTrim` and `RightTrim` to `TrimLeft` and `TrimRight` accordingly
Open
Nobody has claimed this yet.
status:under discussion
type:task
- Dominant language
- PHP
- Stars
- 34
- Forks
- 6
- Avg merge
- 17m
- Merged PRs (30d)
- 4
Description
@samdark's suggestion. Extracted from https://github.com/yiisoft/hydrator/pull/90#discussion_r1704574760.
Contributor guide
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 reviewing the linked pull request discussion to understand the naming decision, then locate the LeftTrim and RightTrim symbols and their references. Rename them consistently to TrimLeft and TrimRight, and run the existing test suite to confirm the hydrator behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100