I have been looking into how does Laravel apply php style conventions, and they use styleci.io which I have used and is great.
I am now trying to setup CI for a new project and I want to have the style checked as part of the build, but I am finding an issue with StyleCI because it only works online. As far as I know from Laracasts lessons, Jeffrey recommends using phpcs, but I haven't found a way to keep that compatible with styleci (other than trying to have the same standard, but it's difficult because they don't use the same nomenclature).
So what is the actual "best practice" at the moment, if any? Seems like the laravel/framework repository relies only on StyleCI and any problem is automatically fixed, but I don't like tools modifying my code automatically so I prefer to get an error if something is wrong. It'd be great to see those errors beforehand in my code editor instead of having to push to validate my code.
Is the only option to achieve this to use StyleCI online and phpcs locally, with all the headaches of making sure that the standards are compatible?
Edit: It'd also be possible to use phpcs as part of the build in Travis, like phpunit is used, but I like the fact that StyleCI is only styles so I think it's good to keep those separated.