Closed viktormaar closed 4 years ago
Excellent! Let's wait and see what others think before we merge it though. But this is exactly what I'd like to see, use of standardised tools and guidelines instead of weird coding-habits from guys like me.
@jongotlin
I think this will be a nice base for a version 2.0 change since it's so big.
As the most effortless solution for the issue https://github.com/wetcat-studios/fortie/issues/66 I simply added the ruleset I use for Laravel projects. It is based on PSR-2 standards (as Laravel follows that as well) with some customization. A further discussion between the maintainers/contributors may needed, which rules we want or don´t want, but this can be a good base. Applying the rules is always easy, either by command line tool or by text editor extension.
Note: This PR does not contain any functional changes, only code formatting.