Skip to content

Commit ada8e53

Browse files
author
libraryupgrader
committed
build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047). Change-Id: I900c01cef632dd80952e08df260e08b8d1a52fa9
1 parent 1ceb869 commit ada8e53

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct).
1+
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct).

Memento/MementoResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public function constructTimeMapLinkHeaderWithBounds(
324324
public function constructTimeMapLinkHeader( $title ) {
325325
$uri = SpecialPage::getTitleFor( 'TimeMap', $title )->getFullURL();
326326

327-
$entry = '<' . $uri . '>; rel="timemap"; type="application/link-format"';
327+
$entry = '<' . $uri . '>; rel="timemap"; type="application/link-format"';
328328

329329
return $entry;
330330
}

Memento/TimeMapResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ abstract class TimeMapResource extends MementoResource {
6161
*/
6262
public static function containsPivot( $urlparam ) {
6363
return (
64-
preg_match( '/' . self::PIVOTURLPATTERN .
64+
preg_match( '/' . self::PIVOTURLPATTERN .
6565
'/', $urlparam ) == 1 );
6666
}
6767

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"require-dev": {
33
"jakub-onderka/php-parallel-lint": "1.0.0",
44
"jakub-onderka/php-console-highlighter": "0.3.2",
5-
"mediawiki/mediawiki-codesniffer": "21.0.0",
5+
"mediawiki/mediawiki-codesniffer": "22.0.0",
66
"mediawiki/minus-x": "0.3.1"
77
},
88
"scripts": {

tests/lib/TestSupport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function diffStrings( $string1, $string2 ) {
110110
} else {
111111
echo "at position $i: string1 has character " . $string1[$i] .
112112
'(' . ord( $string1[$i] ) . "), and string2 has character " .
113-
$string2[$i] . '(' . ord( $string2[$i] ) . ")\n";
113+
$string2[$i] . '(' . ord( $string2[$i] ) . ")\n";
114114
}
115115

116116
} else {

0 commit comments

Comments
 (0)