build: Updating mediawiki/mediawiki-phan-config to 0.9.0

Change-Id: I3d27bc41baf88e12c3874d6acc064abd5c847192
This commit is contained in:
libraryupgrader 2019-12-21 14:53:10 +00:00 committed by Umherirrender
parent 92e21bead9
commit 19ef39f143
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
"mediawiki/mediawiki-codesniffer": "28.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/minus-x": "0.3.2",
"mediawiki/mediawiki-phan-config": "0.8.0"
"mediawiki/mediawiki-phan-config": "0.9.0"
},
"scripts": {
"fix": [

View file

@ -593,7 +593,7 @@ class LoginNotify implements LoggerAwareInterface {
);
return false;
}
if ( (int)$parts[0] < gmdate( 'Y' ) - 3 ) {
if ( (int)$parts[0] < (int)gmdate( 'Y' ) - 3 ) {
// Record is too old. If user hasn't logged in from this
// computer in two years, should probably not consider it trusted.
return false;