diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2024-12-09 11:44:24 -0500 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2024-12-19 19:08:55 +0100 |
commit | 62fbd7ccea8ca3e9cb7ee238c8229053bf4ffd30 (patch) | |
tree | e5e1e8e1a7b050fd6c3edcfa3b020c5f864fe8b0 /includes/parser | |
parent | 5924bbdce0b951a1df8e76f102bef134fcde88ae (diff) | |
download | mediawikicore-62fbd7ccea8ca3e9cb7ee238c8229053bf4ffd30.tar.gz mediawikicore-62fbd7ccea8ca3e9cb7ee238c8229053bf4ffd30.zip |
build: Upgrade mediawiki/mediawiki-phan-config from 0.14.0 to 0.15.0
Suppress remaining issues
Depends-On: I633ec05fe9ab6a815225911d942ecb79f21c428f
Depends-On: I186e799256fbaf5ee77558bd146f9418dd5eaacc
Depends-On: Ib84b7d71e8308a36409f30ecfd16e9de149e97b3
Depends-On: I26aa4adf31b4142248abe3e0f9aa8314512602a6
Depends-On: Icf24e208a487bafe3d1983536870aac19cfc4b5e
Depends-On: I99915b893f14cfbb2b54d9a6264b4f294200c4f2
Depends-On: Ia53b71dff3299837856ae3c004cd0227bd45e05b
Change-Id: I825dce05d4a6ca87acf25063e3664cb2d16f5db0
Diffstat (limited to 'includes/parser')
-rw-r--r-- | includes/parser/PPFrame_Hash.php | 1 | ||||
-rw-r--r-- | includes/parser/Parser.php | 1 | ||||
-rw-r--r-- | includes/parser/ParserOutput.php | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/includes/parser/PPFrame_Hash.php b/includes/parser/PPFrame_Hash.php index 2e9f2b7f2cc0..8e51594f9dee 100644 --- a/includes/parser/PPFrame_Hash.php +++ b/includes/parser/PPFrame_Hash.php @@ -329,6 +329,7 @@ class PPFrame_Hash implements Stringable, PPFrame { # OT_WIKI will only respect <ignore> in substed templates. # The other output types respect it unless NO_IGNORE is set. # extractSections() sets NO_IGNORE and so never respects it. + // @phan-suppress-next-line MediaWikiNoIssetIfDefined if ( ( !isset( $this->parent ) && $this->parser->getOutputType() === Parser::OT_WIKI ) || ( $flags & PPFrame::NO_IGNORE ) ) { diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 186f0344d43e..7b857c799800 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -2175,7 +2175,6 @@ class Parser { */ private function handleExternalLinks( $text ) { $bits = preg_split( $this->mExtLinkBracketedRegex, $text, -1, PREG_SPLIT_DELIM_CAPTURE ); - // @phan-suppress-next-line PhanTypeComparisonFromArray See phan issue #3161 if ( $bits === false ) { throw new RuntimeException( "PCRE failure" ); } diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 0ba3a375107c..324bc1272052 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -1893,6 +1893,7 @@ class ParserOutput extends CacheTime implements ContentMetadataCollector { * @since 1.38 */ public function getPageProperties(): array { + // @phan-suppress-next-line MediaWikiNoIssetIfDefined if ( !isset( $this->mProperties ) ) { $this->mProperties = []; } |