Closed HaroldPutman closed 8 years ago
Sure it would make sense, but as you already pointed it out: It might be [hell of] a lot work :smirk_cat:
Until there is a phpcs 2.x compatible version of the CakePHP 2.x CS, I recommend you to use Composer to manage the phpcs 1.5.x dependency for your 2.x applications. Works well for me, at least.
Yes its a pile of work which is why it has not been done. I agree with @ravage84 and that you should use composer to manage dependencies.
I tried using the CakePHP 2 coding standards by checking out release 1.0.0 of this project, but I get an exception caused by dependencies on classes from old version of phpcs. (should have checked composer.json first).
I still have to deal with some CakePHP 2.x code. Would it make sense to have a version of the CakePHP2 standards that works with newer phpcs? That looks like it might be a lot of work.