build: Updating mediawiki/mediawiki-codesniffer to 14.1.0

And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I02f392fabe71a0425467a88f63fe9f6e18a98f5a
isekai
Umherirrender 7 years ago
parent 9f6600eb6f
commit eab0eed3cf

@ -119,16 +119,16 @@ class TimelessTemplate extends BaseTemplate {
* @param string $name * @param string $name
* @param array|string $content array of links for use with makeListItem, or a block of text * @param array|string $content array of links for use with makeListItem, or a block of text
* Expected array format: * Expected array format:
* [ * [
* $name => [ * $name => [
* 'links' => [ '0' => * 'links' => [ '0' =>
* [ 'href' => ..., 'single-id' => ..., 'text' => ... ] * [ 'href' => ..., 'single-id' => ..., 'text' => ... ]
* ], * ],
* 'id' => ..., * 'id' => ...,
* 'active' => ... * 'active' => ...
* ], * ],
* ... * ...
* ] * ]
* @param null|string|array|bool $msg * @param null|string|array|bool $msg
* *
* @return string html * @return string html
@ -393,7 +393,7 @@ class TimelessTemplate extends BaseTemplate {
* Page tools in sidebar * Page tools in sidebar
* *
* @return string html * @return string html
**/ */
protected function getPageToolSidebar() { protected function getPageToolSidebar() {
$pageTools = ''; $pageTools = '';
if ( count( $this->pileOfTools['page-secondary'] ) > 0 ) { if ( count( $this->pileOfTools['page-secondary'] ) > 0 ) {

@ -1,7 +1,7 @@
{ {
"require-dev": { "require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "13.0.0", "mediawiki/mediawiki-codesniffer": "14.1.0",
"jakub-onderka/php-console-highlighter": "0.3.2" "jakub-onderka/php-console-highlighter": "0.3.2"
}, },
"scripts": { "scripts": {

Loading…
Cancel
Save