Skip to content

Commit fb53267

Browse files
authored
Merge pull request #2 from OnTheGoSystems/wpmlwpseo-302
[wpmlwpseo-302] Update wordpress coding standards to ^3
2 parents 541ddd5 + f832113 commit fb53267

2 files changed

Lines changed: 1173 additions & 194 deletions

File tree

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,21 @@
1818
}
1919
],
2020
"require": {
21-
"wp-coding-standards/wpcs": "*",
22-
"sirbrillig/phpcs-variable-analysis": "^2.1",
23-
"automattic/vipwpcs": "^2.0",
24-
"automattic/phpcs-neutron-standard": "^1.5"
21+
"wp-coding-standards/wpcs": "^3",
22+
"sirbrillig/phpcs-variable-analysis": "^2",
23+
"automattic/vipwpcs": "^3",
24+
"automattic/phpcs-neutron-standard": "^1.7"
2525
},
2626
"require-dev": {
2727
"roave/security-advisories": "dev-master"
2828
},
2929
"scripts" : {
3030
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ../../..",
3131
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ../../.."
32+
},
33+
"config": {
34+
"allow-plugins": {
35+
"dealerdirect/phpcodesniffer-composer-installer": true
36+
}
3237
}
3338
}

0 commit comments

Comments
 (0)