Comments (6)
Github. Tweet from CEO: https://twitter.com/natfriedman/status/1271253144442253312
from phpcsextra.
WordPress as a project is moving towards using trunk
as their default branch name, for better parity with that project's SVN roots—not all projects need to use the same naming scheme. So long as we're successfully avoiding names like master
with problematic legacies, I'd argue that we don't need to worry about standardizing on one branch name across the entire internet. (And if we did, the git
project itself would probably have to lead the way.)
from phpcsextra.
The default branch is develop
.
Though I get what you mean and this is already in the works and will be fixed with the next release, though the WIP is based on naming it stable
to contrast with develop
.
from phpcsextra.
Gr8, I still suggest main
because Github will do the same; completion after tab
works
from phpcsextra.
@theresenabl I presume you mean git
not GitHub ? Or is GH planning to change the default branch name for new repos ? If so: link please ;-)
What's the advantage to that though ? Contributors would never work on that branch, they need develop
to base their feature branches off and other than that, I expect people to use Composer, so I can't think of a use case where people would need the autocompletion ?
from phpcsextra.
Interesting. Thanks for the link. I do see various options being discussed in the thread, including GH changing their own repos to trunk
and main
having other slavery related connotations, so I'm still not convinced that main
is the best choice.
from phpcsextra.
Related Issues (20)
- Question: what scenarios would using post inc/dec cause issues if code were moved around? HOT 3
- Add the unneeded ternary sniff HOT 1
- Sniff(s) to detect proper usage of preg_quote()
- Sniff to detect the irregular whitespace characters HOT 3
- Sniff to discourage "long" closures
- False positive in Universal.CodeAnalysis.ConstructorDestructorReturn HOT 3
- Incorrect detection of PHP 4-style constructors by Universal.CodeAnalysis.ConstructorDestructorReturn HOT 9
- Sniff to enforce naming conventions for namespace names
- Sniff to enforce naming conventions for class/function/const aliases
- Sniff to detect useless alias names HOT 1
- Sniff to flag `is_a()` and possibly replace with `instanceof`
- Ignore specific keys for Universal.Arrays.MixedArrayKeyTypes and Universal.Arrays.MixedKeyedUnkeyedArray HOT 9
- Universal.Arrays.MixedArrayKeyTypes should report on explicit keys, if implicit keys are the majority HOT 2
- Add option to NormalizedArrays.Arrays.ArrayBraceSpacing to allow single- or multi-line empty arrays HOT 4
- preg_replace replacement with variable must be wrapped in addcslashes HOT 1
- Problem with NormalizedArrays.Arrays.CommaAfterLast in some cases HOT 7
- Feature suggestion: new sniff `EchoConcatenation`
- Potential new sniff: scan code for "Trojan source"
- Feature suggestion: new sniff for detecting brand name or text string HOT 1
- Add Sniff to ensure file only uses PHP native functions or functions defined in the current file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpcsextra.