spaze / phpstan-disallowed-calls

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
263 stars 17 forks source link

Rename branch to `main` #160

Closed ruudk closed 1 year ago

ruudk commented 1 year ago

It's very easy and risk free. Go to https://github.com/spaze/phpstan-disallowed-calls/branches and click the edit icon next to the master branch.

spaze commented 1 year ago

Thanks, I'm aware this can be done and how and indeed wanted to do it for quite some time already but wasn't sure if any "tree/master" web links would be correctly redirected as I haven't seen that particular info published anywhere. Tried that on a different repository and seems that links are correctly redirected so I'll go ahead and rename the branch sooner or later.

spaze commented 1 year ago

master branch renamed to main. Users should see this notice: chrome_2023-01-09_21-35-09

Copy/paste:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a