mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-01 02:46:46 +00:00
3f7436c959
Wrap the CallbackFilterIterator backport class in a conditional check for PHP runtimes that include the class natively. This really should only be needed for linting as the class is loaded via an autoloader and thus should not be loaded if the runtime already has it available. Bug: T124828 Change-Id: I39d27385186d4693a8babdd2b818e6b4bc16255a
13 lines
200 B
JSON
13 lines
200 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"mediawiki/mediawiki-codesniffer": "0.5.1"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor",
|
|
"phpcs"
|
|
]
|
|
}
|
|
}
|