PHPCompatibility / PHPCompatibility/PHPCompatibilityWP

Rename the default branch from `master` to `develop`

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

Nobody has claimed this yet.

chores/QA
Dominant language
PHP
Stars
223
Forks
13
PR merge metrics
No merged PRs in 30d

Description

The default branch of this repository is currently master. I would like to suggest renaming it to use more inclusive terminology and to align with sibling repositories that have already moved away from master.

I'm suggesting develop to be consistent with PHPCompatibility, but I'm open to other options. Thoughts?

Suggested steps
  1. Use GitHub's built-in branch rename feature to rename master to develop. This automatically retargets open PRs, moves branch protection rules, and sets up redirects.
  2. Open a follow-up PR to update stale master references in the repository. Only two files reference the branch name:

Note: I'm relatively new to this repository, so there may be other things that need updating that I'm not aware of.

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

Review the proposed rename and the repository's branch settings using GitHub's branch rename guidance. Check .github/workflows/ci.yml and README.md for the two listed master references, then verify whether any additional references exist. Done means the maintainers agree on the target name, the default branch is renamed, and those references no longer use master.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github, github-actions
Domain
ci-cd, devops, release
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.