Closed buttflattery closed 5 years ago
There's nothing too different from PSR-2. Only minor things that matter most for the core code and not much for project code. Use whatever is simpler (I guess, in your case it's phpcs directly).
Hi,
The docs reads:
The following code style is used for Yii 2.x core and official extensions development. If you want to pull-request code into the core, consider using it.
This extension is meant to enforce some rules while developing Yii2, not with Yii2
We aren't forcing you to use this code style for your application. Feel free to choose what suits you better.
You don't need this extension for your own projects.
That is what I thought initially, thanks a lot for your replies @machour @samdark .
hello, i came across your extension for the Yii coding standards and while going through the Yii-coding standards Docs i dont find anything that is not already covered by PhpCs, or maybe i am overlooking it.
The purpose of asking is that if i already am using the phpcs with PSR2 would i need to use this extension if i am working in Yii2 and how can it benefit me.