From eab0eed3cfbb7ca3dee9f15404e8d8ca7c16798c Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 21 Oct 2017 12:46:45 +0200 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 14.1.0 And moved phpcs.xml to .phpcs.xml (T177256). Change-Id: I02f392fabe71a0425467a88f63fe9f6e18a98f5a --- phpcs.xml => .phpcs.xml | 0 TimelessTemplate.php | 22 +++++++++++----------- composer.json | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) rename phpcs.xml => .phpcs.xml (100%) diff --git a/phpcs.xml b/.phpcs.xml similarity index 100% rename from phpcs.xml rename to .phpcs.xml diff --git a/TimelessTemplate.php b/TimelessTemplate.php index bee568c..d035e3b 100644 --- a/TimelessTemplate.php +++ b/TimelessTemplate.php @@ -119,16 +119,16 @@ class TimelessTemplate extends BaseTemplate { * @param string $name * @param array|string $content array of links for use with makeListItem, or a block of text * Expected array format: - * [ - * $name => [ - * 'links' => [ '0' => - * [ 'href' => ..., 'single-id' => ..., 'text' => ... ] - * ], - * 'id' => ..., - * 'active' => ... - * ], - * ... - * ] + * [ + * $name => [ + * 'links' => [ '0' => + * [ 'href' => ..., 'single-id' => ..., 'text' => ... ] + * ], + * 'id' => ..., + * 'active' => ... + * ], + * ... + * ] * @param null|string|array|bool $msg * * @return string html @@ -393,7 +393,7 @@ class TimelessTemplate extends BaseTemplate { * Page tools in sidebar * * @return string html - **/ + */ protected function getPageToolSidebar() { $pageTools = ''; if ( count( $this->pileOfTools['page-secondary'] ) > 0 ) { diff --git a/composer.json b/composer.json index 3ec375d..95bdb5f 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "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" }, "scripts": {