forked from magento/magento-coding-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.44 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
{
"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": "32",
"require": {
"php": "~8.1.0 || ~8.2.0",
"webonyx/graphql-php": "^15.0",
"ext-simplexml": "*",
"ext-dom": "*",
"phpcompatibility/php-compatibility": "^9.3",
"squizlabs/php_codesniffer": "^3.6.1",
"rector/rector": "^0.17.12",
"phpcsstandards/phpcsutils": "^1.0.5"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10",
"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/"
}
},
"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
}
}
}