-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Updated corresponding pages due to with Magento Coding Standard release #4360
Conversation
- added info about Magento Coding Standard - fixed outdated information
@lenaorobei thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
An admin must run tests on this PR before it can be merged. |
Adding more clarity here:
|
Otherwise, you must apply these standards and requirements through rigorous code review. | ||
Magento Coding Standard provides the set of rules which cover following: | ||
* [PSR-1]{:target="_blank"} and [PSR-2]{:target="_blank"} compliance | ||
* the use of insecure functions |
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.
Do we really want to list all custom rules here? It may be difficult to maintain these docs up-to-date.
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 don't see an issue here. It looks good to me that we explicitly declare PHP standard we are following.
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.
Thanks for the PR @lenaorobei! Please see my minor editorial suggestions.
guides/v2.1/ext-best-practices/extension-coding/security-performance-data-bp.md
Outdated
Show resolved
Hide resolved
Co-Authored-By: lenaorobei <oorobei@magento.com>
Co-Authored-By: lenaorobei <oorobei@magento.com>
@jeff-matthews thank you fo the review and suggestions. |
running tests |
Tests failed. Here's the log.
Ran on 4098 files!
|
@lenaorobei, please remove the links to the deleted Code Sniffer file in the following files:
|
- removed dead link
- fixed dead links
@jeff-matthews, done. |
running tests |
Hi @lenaorobei, thank you for your contribution! |
Purpose of this PR
This PR adds information about Magento Coding Standard and fixes outdated pages in this regard.
Affected URLs
https://devdocs.magento.com/guides/v2.1/coding-standards/code-standard-sniffers.html
https://devdocs.magento.com/guides/v2.2/coding-standards/code-standard-sniffers.html
https://devdocs.magento.com/guides/v2.3/coding-standards/code-standard-sniffers.html
https://devdocs.magento.com/guides/v2.1/coding-standards/code-standard-php.html
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/templates/template-security.html
https://devdocs.magento.com/guides/v2.1/ext-best-practices/extension-coding/security-performance-data-bp.html
https://devdocs.magento.com/guides/v2.1/ext-best-practices/extension-coding/working-with-arch-bp.html
https://devdocs.magento.com/guides/v2.1/extension-dev-guide/validate/test-module.html
https://devdocs.magento.com/guides/v2.2/extension-dev-guide/validate/test-module.html
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/validate/test-module.html
Request for Review:
@jeff-matthews
@dshevtsov
@paliarush
whatsnew
Added information about the Magento Coding Standard to the following topics: