-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
February 13th, 2019 #87
Comments
I won't be able to attend this time (I will watch the recording later on) but I was wondering... I know that PHP_CodeSniffer tool can be also used for this but I have not seen anything related in the Magento Extension Quality Program Coding Standard It would be nice if somebody can answer this. |
@diazwatson there are a lot of such sniffs in main repo: https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/Less For JS another tooling from JS-ecosystem is used currently but I do agree that it would be nice to make JS code as much consistent with PHP as possible. |
https://github.com/magento/magento-coding-standard repo for now is more like a new incarnation of MEQP repo rather than a real Magento standard existed for years. |
It would be nice to re organise all those repos (and maybe the sniffs in https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/*) in just one place. That would be a great topic of discussion for sure |
That's exactly what magento/magento-coding-standard stands for. Here is the related task - magento/magento-coding-standard#4 |
Yep, moving existing and working stuff from static tests somewhere to https://github.com/magento/magento2/tree/2.3-develop/lib/internal/Magento/Framework instead of making one more repo (reminds me https://xkcd.com/927/) and then improving it iteration-by-iteration with MEQP and other useful sniffs would be really great. Approach described in issue mentioned by Lena is kinda opposite. |
Great news @orlangur @lenaorobei !!! |
@diazwatson Magento Coding Standard will include rules for Magento 2.x only. |
Please add your topic as a comment to the issue. Use following format:
Topic description and link to PR, if any (duration in min)
Meeting Notes
Recording: no recording due to tech difficulties
The text was updated successfully, but these errors were encountered: