-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
24 lines (24 loc) · 975 Bytes
/
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
{
"name": "aligent/code-standards",
"version": "1.0.0",
"description": "Composer requirements for Alignet code standards checks",
"type": "magento2-module",
"require": {
"magento/magento-coding-standard": "^33",
"pheromone/phpcs-security-audit": "^2.0",
"squizlabs/php_codesniffer": "^3.5",
"magento/php-compatibility-fork": "0.1.0"
},
"license": [
"GPL-3"
],
"scripts": {
"post-install-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../pheromone/phpcs-security-audit/,../../magento/php-compatibility-fork)"
],
"post-update-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../pheromone/phpcs-security-audit/,../../magento/php-compatibility-fork)"
],
"check-style": "./vendor/bin/phpcs --standard=Magento2 --colors --report=summary app"
}
}