-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
44 lines (44 loc) · 1.15 KB
/
composer.json
File metadata and controls
44 lines (44 loc) · 1.15 KB
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
{
"name": "travelopia/wordpress-coding-standards",
"description": "Travelopia's PHP WordPress Coding Standards",
"type": "phpcodesniffer-standard",
"license": "MIT",
"authors": [
{
"name": "Travelopia",
"homepage": "https://www.travelopia.com"
}
],
"require": {
"wp-coding-standards/wpcs": "^3.2",
"friendsofphp/php-cs-fixer": "^3.89"
},
"autoload": {
"psr-4": {
"Travelopia\\WordPressCodingStandards\\Fixers\\": "php-cs-fixer/Fixers/",
"Travelopia\\WordPressCodingStandards\\": "php-cs-fixer/"
}
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*"
},
"scripts": {
"install-codestandards": [
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"post-install-cmd": [
"@install-codestandards"
],
"format:fix": [
"php-cs-fixer fix --config=php-cs-fixer/.php-cs-fixer.dist.php"
],
"format:fix:dry": [
"php-cs-fixer fix --config=php-cs-fixer/.php-cs-fixer.dist.php --dry-run --diff"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}