cakephp / cakephp/localized

Cleaner API

Open
#252 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
212
Forks
171
PR merge metrics
No merged PRs in 30d

Description

As shown in https://sandbox.dereuromark.de/sandbox/localized

There are several methods that are either kind of duplicates with a different name or contain underscore instead of camelBacked.
We should clean up the API here, deprecate one in favor of the correct spelling if possible.

All methods that shouldnt be visible, should be marked protected.

Contributor guide

No contributing guide indexed for this repository

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 the localized sandbox at https://sandbox.dereuromark.de/sandbox/localized and inspect the public methods it exposes. Identify duplicate or underscore-named methods, determine which spellings should remain, and check how visibility and deprecation are handled in the project. Done means the API is cleaned up, deprecated alternatives are marked where appropriate, and internal methods are protected.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, localization
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.