yiisoft / yiisoft/strings

What's the purpose to support null value in startsWith?

Open
#42 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:ready for adoption
Dominant language
PHP
Stars
49
Forks
18
Avg merge
49m
Merged PRs (30d)
1

Description

What's the purpose to support null value in startsWith?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/StringHelper.php at the linked startsWith method and inspect how its null value is handled. Clarify whether null support is intentional and what API behavior should remain; the issue is done when that decision is documented and any resulting change is agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.