Skip to content

Releases: magento/marketplace-eqp

MEQP 4.0.0 Publication

27 Jun 16:34
c05115d
Compare
Choose a tag to compare
  • added a new insecure functions sniff with the severity 10 -> #115

MEQP 3.0.0 Publication

19 Jun 16:23
904c354
Compare
Choose a tag to compare

MEQP is Magento 1.x only

Removed Magento 2.x rules in favor of Magento Coding Standard for 2.x.

Now MEQP1 Coding Standard serves for Magento 1.x code only.

MEQP 2.0.1 Publication

16 Jan 15:19
3303dfc
Compare
Choose a tag to compare
  • Fixed false positive unescaped output detected #102 -> #103
  • Fixed /lib/ ignore in the ruleset for Magento 1.x #81 -> #105

MEQP 2.0.0 Publication

04 Dec 16:16
955696e
Compare
Choose a tag to compare
  • 🥇 Added PHP_CodeSniffer 3.* compatibility #60 -> #70
  • Added package type "phpcodesniffer-standard" -> #95
  • Fixed issue with not resolvable multi-line function parameters Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine #46 -> #52
  • Fixed false-positive findings in MEQP1.Classes.ObjectInstantiation sniff #47 -> #53
  • Improved MEQP1.Templates.XssTemplate #48 -> #54
  • Excluded phtml files from certain rules #57 -> #58
  • Fixed Notice: Undefined index in MEQP1.Security.DiscouragedFunction #63 -> #68
  • Set extensions list to be checked by default in the ruleset -> #80
  • Made exclude pattern for lib folders relative -> #81
  • Added default configuration documentation -> #82
  • Added explanatory comment to MEQP2.Classes.MutableObjects #35 -> #85
  • Add new escaping methods from Magento 2.2 to MEQP2.Templates.XssTemplate sniff whitelist -> #89
  • Fixed possible endless loop in MEQP2.Classes.ObjectInstantiation #88 and MEQP2.Classes. PublicClassMembers #96
  • Reduced false-positive findings in MEQP2.Classes. PublicClassMembers sniff #51 #76 -> #97
  • Changed the severity from 10 to 8 for Generic.Arrays.DisallowShortArraySyntax for M1 -> #98 #100

MEQP 1.0.5 Publication

11 Apr 09:25
Compare
Choose a tag to compare
  • Added exclusion for methods which name contains html in MEQP1.Templates.XssTemplateSniff;
  • Removed PSR1.Classes.ClassDeclaration sniff from MEQP1 ruleset;
  • Added Generic.Files.OneClassPerFile.MultipleFound and Generic.Files.OneInterfacePerFile.MultipleFound error codes with severity 10;
  • Moved phpunit to require-dev section in composer.json file;
  • Changed PHP requirenments to >=5.5.0 in composer.json file.

MEQP 1.0.4 Publication

25 Oct 15:54
Compare
Choose a tag to compare
  • Added severities to all sniffs. Now to make sure, your extension will pass CodeSniffer checks on Level 1 of Magento Marketplace Technical Review, you could run phpcs command with --severity=10 option;
  • New NameResolutionSniff detects literal namespace;
  • New PublicNonInterfaceMethodsSniff detects public non-interface methods in actions and observers;
  • New XssTemplateSniff for Magento 1.x detects unescaped output;
  • Improved MageEntitySniff;

MEQP 1.0.3 Publication

29 Sep 15:47
Compare
Choose a tag to compare

Added new sniffs:

  • ArrayCountSniff detects count() method is used to check if array is empty;
  • StrlenSniff detects strlen() method is used to check if string is empty;
  • ObjectManagerSniff detects use of ObjectManager;
  • MutableObjectsSniff detects Request, Session and Cookie objects are requested in constructor.

MEQP 1.0.2 Publication

19 Jul 10:00
Compare
Choose a tag to compare
  • Added code to ReservedWords and ThisInTemplate sniffs
  • Fixed code style in ConstantUsage sniff
  • Added 'Test' folder to ignore list for ObjectInstantiation sniff
  • Changed DisallowLongArraySyntax sniff to warning
  • Updated readme
  • Added MageEntity sniff
  • Fixed comment (Detects possible usage of 'protected' scope modifiers)

MEQP 1.0.1 Publication

02 Jun 15:37
Compare
Choose a tag to compare
Merge branch 'develop' of github.com:magento-eqp/eqp-coding-standard

MEQP 1.0.0 Publication

30 May 15:40
Compare
Choose a tag to compare
Merge pull request #1 from magento/develop

SPQR-78: Fix MEQP Coding Standard