mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "build: Bump phan to 0.10.2, remove taint-check"
This commit is contained in:
commit
3157a430f5
|
@ -8,7 +8,9 @@ $cfg['directory_list'] = array_merge(
|
|||
$cfg['directory_list'],
|
||||
[
|
||||
'../../extensions/VisualEditor',
|
||||
'../../extensions/Wikibase'
|
||||
'../../extensions/Wikibase/client',
|
||||
'../../extensions/Wikibase/repo',
|
||||
'../../extensions/Wikibase/lib',
|
||||
]
|
||||
);
|
||||
|
||||
|
@ -16,7 +18,9 @@ $cfg['exclude_analysis_directory_list'] = array_merge(
|
|||
$cfg['exclude_analysis_directory_list'],
|
||||
[
|
||||
'../../extensions/VisualEditor',
|
||||
'../../extensions/Wikibase'
|
||||
'../../extensions/Wikibase/client',
|
||||
'../../extensions/Wikibase/repo',
|
||||
'../../extensions/Wikibase/lib',
|
||||
]
|
||||
);
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@ class MathLaTeXML extends MathMathML {
|
|||
$this->lastError = '';
|
||||
$requestResult = $this->makeRequest( $host, $post, $res, $this->lastError );
|
||||
if ( $requestResult ) {
|
||||
// @phan-suppress-next-line PhanTypeMismatchArgumentInternal
|
||||
$jsonResult = json_decode( $res );
|
||||
if ( $jsonResult && json_last_error() === JSON_ERROR_NONE ) {
|
||||
if ( $this->isValidMathML( $jsonResult->result ) ) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.9.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.2",
|
||||
"mediawiki/minus-x": "1.0.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
|
@ -16,8 +16,5 @@
|
|||
"minus-x fix .",
|
||||
"phpcbf"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"phan-taint-check-plugin": "2.0.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue