mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 08:14:15 +00:00
9cceee17cc
* array() -> [] * spacing fixes * dirname( __FILE__ ) -> __DIR__ * Add phpcs style checks using latest mediawiki-codesniffer to keep things clean. Co-Authored-By: Bryan Davis <bd808@wikimedia.org> Change-Id: I95735f928d3e5d6ac9d2a10d92b40ed01cf2737c
16 lines
281 B
JSON
16 lines
281 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"mediawiki/mediawiki-codesniffer": "0.7.2"
|
|
},
|
|
"scripts": {
|
|
"lint": "parallel-lint --exclude vendor .",
|
|
"phpcs": "phpcs -p -s",
|
|
"fix": "phpcbf",
|
|
"test": [
|
|
"composer lint",
|
|
"composer phpcs"
|
|
]
|
|
}
|
|
}
|