diff --git a/Magento2/ruleset.xml b/Magento2/ruleset.xml index 5b03a4c6..daeef23f 100644 --- a/Magento2/ruleset.xml +++ b/Magento2/ruleset.xml @@ -741,4 +741,9 @@ 0 + + + + + diff --git a/composer.json b/composer.json index 36a71bbf..3ad22f70 100644 --- a/composer.json +++ b/composer.json @@ -9,10 +9,11 @@ "version": "15", "require": { "php": ">=7.3", - "squizlabs/php_codesniffer": "^3.6", "webonyx/graphql-php": "^14.9", "ext-simplexml": "*", - "ext-dom": "*" + "ext-dom": "*", + "phpcompatibility/php-compatibility": "^9.3", + "squizlabs/php_codesniffer": "^3.6" }, "require-dev": { "phpunit/phpunit": "^9.5.8" @@ -32,7 +33,7 @@ } }, "scripts": { - "post-install-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..", - "post-update-cmd": "vendor/bin/phpcs --config-set installed_paths ../../.." + "post-install-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..,../../phpcompatibility/php-compatibility/PHPCompatibility", + "post-update-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..,../../phpcompatibility/php-compatibility/PHPCompatibility" } } diff --git a/composer.lock b/composer.lock index 8346f504..47559dbd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,70 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ccc9b708a197fb981876af4623ec26a3", + "content-hash": "2e8abe33e655572c04bb6cdc53f88626", "packages": [ + { + "name": "phpcompatibility/php-compatibility", + "version": "9.3.5", + "source": { + "type": "git", + "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", + "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", + "shasum": "" + }, + "require": { + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" + }, + "conflict": { + "squizlabs/php_codesniffer": "2.6.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Wim Godden", + "homepage": "https://github.com/wimg", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" + } + ], + "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", + "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", + "keywords": [ + "compatibility", + "phpcs", + "standards" + ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, + "time": "2019-12-27T09:44:58+00:00" + }, { "name": "squizlabs/php_codesniffer", "version": "3.6.1", @@ -64,16 +126,16 @@ }, { "name": "webonyx/graphql-php", - "version": "v14.11.0", + "version": "v14.11.1", "source": { "type": "git", "url": "https://github.com/webonyx/graphql-php.git", - "reference": "d191b0c34365c025c6cd953b5a63aa62946c7060" + "reference": "8f3e584335696c2eb8d307019f0afdff64fc0e35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/d191b0c34365c025c6cd953b5a63aa62946c7060", - "reference": "d191b0c34365c025c6cd953b5a63aa62946c7060", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/8f3e584335696c2eb8d307019f0afdff64fc0e35", + "reference": "8f3e584335696c2eb8d307019f0afdff64fc0e35", "shasum": "" }, "require": { @@ -118,7 +180,7 @@ ], "support": { "issues": "https://github.com/webonyx/graphql-php/issues", - "source": "https://github.com/webonyx/graphql-php/tree/v14.11.0" + "source": "https://github.com/webonyx/graphql-php/tree/v14.11.1" }, "funding": [ { @@ -126,7 +188,7 @@ "type": "open_collective" } ], - "time": "2021-10-29T13:08:08+00:00" + "time": "2021-11-15T10:25:57+00:00" } ], "packages-dev": [ @@ -1501,16 +1563,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", "shasum": "" }, "require": { @@ -1559,14 +1621,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" }, "funding": [ { @@ -1574,7 +1636,7 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2021-11-11T14:18:36+00:00" }, { "name": "sebastian/global-state",