Stale dev-2.x branch alias in composer.json on 4.x

Open Beginner friendly
#98 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
84/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
build-system

Research direction

Open composer.json around lines 107–109 and check how the branch alias is declared on the 4.x branch. Remove the stale dev-2.x alias, or confirm whether a current-branch alias is needed; done when composer.json no longer advertises the 2.x alias on 4.x.

Written by the indexing model from the issue text.

Description

Description

composer.json on the 4.x branch still declares the branch alias "dev-2.x": "2.12.x-dev" (composer.json#L107-L109). Composer applies a branch alias only to the branch it names, so on 4.x this entry is dead config carried over from 2.x and only misleads about which line the branch belongs to.

Proposed solution

Drop the entry on 4.x (the numeric branch name 4.x already resolves as 4.x-dev), or replace it with an alias for the current branch if one is wanted.

Dominant language
PHP
Stars
7
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from spiral/testing

All issues in spiral/testing

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.