Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
give php-cs-fixer a try #5688
Ran php-cs-fixer for some of the most common things, heres the ruleset I used:
Fixes some inconsistencies such as:
Might be a good idea to add php-cs-fixer to our travis stuff so every commit gets scanned against the same ruleset
The usage of list was consistent though it seems in our code base, even if php-cs-fixer wants to make it different. Not sure if we should fix it or leave it.
It also seems to want to change list(,, $var) to list (, , $var), which is not what we want either.
Some of the areas had lots of tabs after => to indent these to be consistent and easier to read.