So I'm beginning a large overhaul of a forked project on Github to use with my application and I've discovered that all control structure openings { are on a separate line.
This is not my coding style and it would take me hours to scan all files and change them manually but there must be some online tool, right?
What exists:
if(something)
{
do this;
}
else
{
do that;
}
What I would like:
if(something) {
do this;
}
else {
do that;
}
I'm following PSR-0 and PSR-2 coding standards with the exception of a new line after a class declaration.
So again, I'm wondering of any tool that can scan my project and do adjustments to the coding style (I've looked at editorconfig already, doesn't have this feat).
Aucun commentaire:
Enregistrer un commentaire