mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
Merge "build: Updating mediawiki/mediawiki-phan-config to 0.14.0"
This commit is contained in:
commit
5831b9dd60
|
@ -2,6 +2,9 @@
|
|||
|
||||
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
||||
|
||||
// To migrate later
|
||||
$cfg['suppress_issue_types'][] = 'MediaWikiNoEmptyIfDefined';
|
||||
|
||||
$cfg['directory_list'] = array_merge(
|
||||
$cfg['directory_list'],
|
||||
[
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.12.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace MediaWiki\Extension\Math;
|
||||
|
||||
use Exception;
|
||||
use LogicException;
|
||||
use MediaWiki\Html\Html;
|
||||
|
||||
/**
|
||||
|
@ -61,11 +61,11 @@ class MathSource extends MathRenderer {
|
|||
}
|
||||
|
||||
/**
|
||||
* @throws Exception always
|
||||
* @throws LogicException always
|
||||
* @return never
|
||||
*/
|
||||
protected function getMathTableName() {
|
||||
throw new Exception( 'in math source mode no database caching should happen' );
|
||||
throw new LogicException( 'in math source mode no database caching should happen' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue