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

Change-Id: I6132f22888b2e63087d9b47fbde2bf5872b87b5b
This commit is contained in:
libraryupgrader 2019-03-11 03:34:48 +00:00 committed by Kunal Mehta
parent bf89ab371d
commit 73843895f6
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"mediawiki/mediawiki-codesniffer": "24.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/minus-x": "0.3.1",
"mediawiki/mediawiki-phan-config": "0.4.0"
"mediawiki/mediawiki-phan-config": "0.5.0"
},
"scripts": {
"fix": [

View file

@ -29,7 +29,7 @@
*
*/
// @codingStandardsIgnoreStart
$IP = getenv( "MW_INSTALL_PATH" ) ? getenv( "MW_INSTALL_PATH" ) : __DIR__ . "/../../..";
$IP = getenv( "MW_INSTALL_PATH" ) ?: __DIR__ . "/../../..";
if ( !is_readable( "$IP/maintenance/Maintenance.php" ) ) {
die( "MW_INSTALL_PATH needs to be set to your MediaWiki installation.\n" );
}