Introduce PHP CS to improve code quality #16755
In order to improve our code quality a bit, it would imho be awesome by stating to introduce automatic PHPCS checks.I've started with a very basic ruleset, that only disallows the usage of short open tags and forces using \n as line endings.
There is also a new workflow, that will automatically run for Pull Requests, so it can be directly seen if a PR breaks any coding rules.
If that PR get's merged I would add some other rules step by step and directly provide fixes for code that doesn't comply. Maybe anyone else also has some suggestions for rules we should use.
sure could start with just this and see over time if/when we run into issues that could have been detected through this and then add it when needed (or when we notice something as part of a review we could think whether we can automatically detect certain thing in the future). Generally not so much coding style as it's not as important but probably more like