Skip to content

Releases: YouweGit/coding-standard-magento2

2.2.1

10 Jun 08:24
2355959
Compare
Choose a tag to compare

What's Changed

  • Fix to strict rules and exclude pattern uses by @elzekool in #13

New Contributors

Full Changelog: 2.2.0...2.2.1

2.2.0

19 Apr 10:25
30e96bb
Compare
Choose a tag to compare

What's Changed

  • Make exclusion list more specific for Magento template files by @fredden in #11

Full Changelog: 2.1.3...2.2.0

Avoid false positive alerts for HTML files

26 May 10:14
e187a54
Compare
Choose a tag to compare
  • Also exclude HTML files from Youwe coding standard ruleset #10

Allow stable version of phpcs installer

15 Mar 12:26
efc95a8
Compare
Choose a tag to compare
  • Allow use of stable version of dealerdirect/phpcodesniffer-composer-installer (#8)

Resolve incompatibility between standards (PSR-2 versus PSR-12)

15 Mar 11:39
125b239
Compare
Choose a tag to compare
  • Resolve incompatibility with PSR12.ControlStructures.ControlStructureSpacing (from the Youwe standard) and PSR2.ControlStructures.ControlStructureSpacing (from the Magento2 standard). For details, see #6.

Changes for phtml code standards

27 Oct 15:41
9a2b478
Compare
Choose a tag to compare
  • Youwe ruleset will not check .phtml files anymore and only uses the Magento2 coding standards to check files on phpcs.

Added magento & Shrewberry office coding standards

12 Oct 12:30
aed5868
Compare
Choose a tag to compare

Added

  • Composer package youwe/coding-standard which is now included in the Youwe coding standards for Magento 2.
  • Comments for why the ruleset was added.
  • Coding standards for phtml templates.
  • Package magento/magento-coding-standard as a requirement.
    The version v25 is used as a base. If not compatible please update the phpcs.xml in project root.

Removed

  • Rule PSR2.Methods.MethodDeclaration.Underscore since this is already excluded by Magento.
  • Argument colors and added it in the common Youwe coding standards.
  • Old coding ruleset directories and migrated them to YouweMagento2.

Update phpcs installed paths

27 Sep 16:06
Compare
Choose a tag to compare
Pre-release
2.0.0-RC3

Updated changelog.

Create Youwe coding standard for Magento 2

21 Sep 14:39
4af2e56
Compare
Choose a tag to compare
Merge pull request #2 from fredden/youwe-magento2

Use official Magento2 coding standard as base for YouweMagento2

Update dependency to use new coding standard package

03 Aug 11:19
Compare
Choose a tag to compare
1.8.0

Update dependency to resolve issue of getting latest coding-standard.