Few moments ago, I backported rESPO2d6c378fe509: Add missing comma as an UBN fix for T316150. This patch adds a comma that was missing in rESPO6bb33491cec6: Use real transactions when managing the voter list for a poll.
This kind of error should be catched by CI. Copying a relevant discussion from #mediawiki-core at IRC:
18:25 <zabe> someone willing to quickly +2 https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/827529/ ? 18:26 <zabe> Thanks Lucas_WMDE :) 18:27 <Reedy> I was going to ask how CI didn't complain... 18:27 <Lucas_WMDE> shouldn’t CI have caught that? even if we don’t have any tests actually running the code, at least Phan or something like that? 18:27 <Reedy> but that's valid syntax xD 18:27 <Lucas_WMDE> oh damn 18:27 <Lucas_WMDE> grr, right 18:27 <Reedy> And as most of the parameters are optional... 18:27 <Reedy> it won't complain about lack of 18:27 <legoktm> how is [] on a constant valid syntax? like, if it were an array sure 18:28 <Lucas_WMDE> it’s “valid” enough that the result is a fatal error at runtime, but not a parse error, I guess? 18:28 <Reedy> and no test coverage? 18:28 <taavi> isn't [] the array append operator? how is that valid as a parameter value? 18:28 <legoktm> I would've expected phan to have caught it 18:28 <Reedy> hmm 18:28 <legoktm> s/expected/hoped/ 18:28 <Reedy> php -l doesn't like it 18:28 <Reedy> does parallel lint for some reason? 18:29 <Lucas_WMDE> hm, in php -a it seems to be a parse error after all
Production repos with scalar_implicit_cast ignored (search):
- extensions/CentralNotice (patch)
- extensions/OAuth (patch)
- extensions/Quiz (patch)
- extensions/SecurePoll (patch)
- extensions/Translate => T316716
- extensions/Wikibase => T243594
- services/parsoid => T316715
Production repos with null_casts_as_any_type ignored (search):