ParserOutput: Ensure that array elements are always terminated with a comma

Change-Id: I47263fef3b6ad10ffcaa128ee415e560a3ed86c3
This commit is contained in:
C. Scott Ananian 2022-05-17 11:13:33 -04:00
parent 9efc36c652
commit db492e204f

View file

@ -284,7 +284,7 @@ class ParserOutput extends CacheTime implements ContentMetadataCollector {
private const SPECULATIVE_FIELDS = [
'speculativePageIdUsed',
'mSpeculativeRevId',
'revisionTimestampUsed'
'revisionTimestampUsed',
];
/** @var int|null Assumed rev ID for {{REVISIONID}} if no revision is set */
@ -442,7 +442,7 @@ class ParserOutput extends CacheTime implements ContentMetadataCollector {
'placeholder' => $m[0],
'editsectionPage' => $m[1],
'titletext' => $this->getTitleText(),
'phab' => 'T261347'
'phab' => 'T261347',
]
);
return '';
@ -1903,7 +1903,7 @@ class ParserOutput extends CacheTime implements ContentMetadataCollector {
'cachereport-timestamp',
'cachereport-ttl',
'cachereport-transientcontent',
'limitreport-timingprofile'
'limitreport-timingprofile',
] ) ) {
// These keys are processed separately.
continue;