Releases: magento/marketplace-eqp
Releases · magento/marketplace-eqp
MEQP 4.0.0 Publication
- added a new insecure functions sniff with the severity 10 -> #115
MEQP 3.0.0 Publication
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
MEQP 2.0.0 Publication
- 🥇 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
inMEQP1.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 andMEQP2.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
- Added exclusion for methods which name contains
html
inMEQP1.Templates.XssTemplateSniff
; - Removed
PSR1.Classes.ClassDeclaration
sniff from MEQP1 ruleset; - Added
Generic.Files.OneClassPerFile.MultipleFound
andGeneric.Files.OneInterfacePerFile.MultipleFound
error codes with severity 10; - Moved
phpunit
torequire-dev
section in composer.json file; - Changed PHP requirenments to
>=5.5.0
in composer.json file.
MEQP 1.0.4 Publication
- 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
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
- 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
Merge branch 'develop' of github.com:magento-eqp/eqp-coding-standard
MEQP 1.0.0 Publication
Merge pull request #1 from magento/develop SPQR-78: Fix MEQP Coding Standard