forked from magento/magento-coding-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 loc) · 1.52 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "magento/magento-coding-standard",
"description": "A set of Magento specific PHP CodeSniffer rules.",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"type": "phpcodesniffer-standard",
"version": "31",
"require": {
"php": ">=7.4",
"webonyx/graphql-php": "^15.0",
"ext-simplexml": "*",
"ext-dom": "*",
"phpcompatibility/php-compatibility": "^9.3",
"squizlabs/php_codesniffer": "^3.6.1",
"rector/rector": "^0.15.10",
"symfony/polyfill": "^1.16",
"phpcsstandards/phpcsutils": "~1.0.5"
},
"require-dev": {
"phpunit/phpunit": "^9.5.8",
"yoast/phpunit-polyfills": "^1.0"
},
"autoload-dev": {
"files": [
"PHP_CodeSniffer/Tests/Standards/AbstractSniffUnitTest.php"
]
},
"autoload": {
"classmap": [
"PHP_CodeSniffer/Tokenizers/"
],
"psr-4": {
"Magento2\\": "Magento2/",
"Magento2Framework\\": "Magento2Framework/",
"PHPCompatibility\\": "PHPCompatibility/"
}
},
"scripts": {
"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"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}