forked from magento/magento-coding-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
40 lines (40 loc) · 1.22 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
{
"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": "24",
"require": {
"php": ">=7.3",
"webonyx/graphql-php": "^14.9",
"ext-simplexml": "*",
"ext-dom": "*",
"phpcompatibility/php-compatibility": "^9.3",
"squizlabs/php_codesniffer": "^3.6.1",
"rector/rector": "^0.13.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.8"
},
"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"
}
}