-
Notifications
You must be signed in to change notification settings - Fork 3
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
Added magento/magento-coding-standard to keep closer to Magento standards #3
Conversation
This is to avoid collision with upstream Magento2 coding standard. This is a breaking change and will require a new major version number when it is released.
This is feasible as we are releasing the next major version of this pacakge anyway. (See previous commit.)
Use official Magento2 coding standard as base for YouweMagento2
…are not declared.
…ards. * Added support for phtml templates. * Added Fisheye coding standards. * Updated current rules and added comments why it was added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the paths in the scripts
section of composer.json
, but will defer to / trust @leonhelmus who has tested this.
All other changes since I worked on this look good.
@@ -1,22 +1,33 @@ | |||
{ | |||
"name": "youwe/coding-standard-magento2", | |||
"description": "Youwe PHP Coding Standard for Magento2", | |||
"type": "phpcs-sniffs", | |||
"homepage": "https://github.com/YouweGit/coding-standard-magento2", | |||
"license": "proprietary", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not blocking, but maybe a good idea to change this to a different license in the future as the code is open source and not proprietary.
Automatically update/set installed_paths for phpcs
…taller to add it to installed paths
Added
The version v25 is used as a base. If not compatible please update the
phpcs.xml
in project root.Removed