diff --git a/.gitignore b/.gitignore index 57772e62b..d55f48d38 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6 @@ sftp-config.json /docs /node_modules /vendor -/tests/phan/issues # Operating systems ## Mac OS X diff --git a/tests/phan/config.php b/.phan/config.php similarity index 78% rename from tests/phan/config.php rename to .phan/config.php index 079cf33ea..3f56d7dc7 100644 --- a/tests/phan/config.php +++ b/.phan/config.php @@ -16,9 +16,4 @@ * */ -$cfg = require __DIR__ . '/../../vendor/mediawiki/mediawiki-phan-config/src/config.php'; - -// phan doesn't support @inheritDoc yet -$cfg['suppress_issue_types'][] = 'PhanParamSignatureMismatch'; - -return $cfg; +return require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php'; diff --git a/composer.json b/composer.json index ec9d70a20..d5f5fed90 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,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.3.0" + "mediawiki/mediawiki-phan-config": "0.5.0" }, "scripts": { "fix": [