mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-24 07:23:41 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes: * Also sorted "composer fix" command to run phpcbf last. Change-Id: I96581fb165d9c60c205f83a4d9d479e7e7a0da64
This commit is contained in:
parent
a13d8b709e
commit
c9240eacd1
|
@ -2,7 +2,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
"mediawiki/mediawiki-codesniffer": "29.0.0",
|
||||||
"mediawiki/mediawiki-phan-config": "0.9.0",
|
"mediawiki/mediawiki-phan-config": "0.9.0",
|
||||||
"mediawiki/minus-x": "0.3.2"
|
"mediawiki/minus-x": "0.3.2"
|
||||||
},
|
},
|
||||||
|
@ -13,8 +13,8 @@
|
||||||
"minus-x check ."
|
"minus-x check ."
|
||||||
],
|
],
|
||||||
"fix": [
|
"fix": [
|
||||||
"phpcbf",
|
"minus-x fix .",
|
||||||
"minus-x fix ."
|
"phpcbf"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
|
@ -72,9 +72,9 @@ class RevisionSliderHooks {
|
||||||
$stats->increment( 'RevisionSlider.event.hookinit' );
|
$stats->increment( 'RevisionSlider.event.hookinit' );
|
||||||
|
|
||||||
$timeOffset = $config->get( 'LocalTZoffset' );
|
$timeOffset = $config->get( 'LocalTZoffset' );
|
||||||
if ( is_null( $config->get( 'Localtimezone' ) ) ) {
|
if ( $config->get( 'Localtimezone' ) === null ) {
|
||||||
$timeOffset = 0;
|
$timeOffset = 0;
|
||||||
} elseif ( is_null( $timeOffset ) ) {
|
} elseif ( $timeOffset === null ) {
|
||||||
$timeOffset = 0;
|
$timeOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue