mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-28 02:00:34 +00:00
11781784de
This revertsb8abb9b5f2
(a self-merged "experiment") and1bb0ea4f76
(Convert entry point to use explicit globals). The maintainers of this extension do not plan on supporting installation via composer. This functionality was never included in a stable release branch, and should not break anyone sticking to stable branches. Once merged, I can remove the package from packagist.org The composer.json is now used to add a "composer test" entry point to run PHPCS, which this extension badly needs. Change-Id: I2f3db6addd883d94366a696d5185bf05b2695b11
13 lines
307 B
JSON
13 lines
307 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.8.0",
|
|
"mediawiki/mediawiki-codesniffer": "0.1.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor",
|
|
"phpcs --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --extensions=php,php5,inc --ignore=vendor -p ."
|
|
]
|
|
}
|
|
}
|