mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-23 15:57:10 +00:00
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I137fe0fe2d6486b6a2a90d57582d837ec22bd1e0
This commit is contained in:
parent
127b836696
commit
ef40cf4a67
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
|
@ -18,5 +18,10 @@
|
|||
],
|
||||
"phan": "phan -d . --long-progress-bar",
|
||||
"phpcs": "phpcs -sp --cache"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -379,7 +379,7 @@ class ExprParser {
|
|||
}
|
||||
|
||||
// Finish off the operator array
|
||||
// phpcs:ignore MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures
|
||||
// phpcs:ignore Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
|
||||
while ( $op = array_pop( $operators ) ) {
|
||||
if ( $op === self::EXPR_OPEN ) {
|
||||
throw new ExprError( 'unclosed_bracket' );
|
||||
|
|
Loading…
Reference in a new issue