Closed dantevvp closed 2 years ago
@dantevvp sorry I missed this one, will review tomorrow
@dantevvp Closing this one in favor of https://github.com/codeclimate/codeclimate-phpcodesniffer/pull/92, which has already been merged.
Hey @fede-moya we just started seeing the "SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" error on our beta builds... possible there was something in here that was still needed?
This PR updates some of the composer requirements while fixing errors reported by users after the latest image update.
Description
Added
php7-xmlreader
extensionFixes error:
Class 'XMLReader' not found in /usr/src/app/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/I18nSniff.php
Added
/usr/src/app/vendor/slevomat/coding-standard
tophpcs
's configinstalled_paths
Fixes error:
Referenced sniff "SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" does not exist
Updated
pheromone/phpcs-security-audit
to version 2.0.1Fixes error:
Exception: Interface 'PHP_CodeSniffer_Sniffs' not found
Added command to copy
MEQP
folder insideMEQP1
folder inmagento/marketplace-eqp
packageFixes error:
Trait 'MEQP\Utils\Helper' not found
Issue reference
https://codeclimate.atlassian.net/browse/QUA-514