"Platonides" posted a comment on MediaWiki.r104563.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104563#c26755

Commit summary for MediaWiki.r104563:

Fix fatal error when running newParserTest

The delayed parser test feature was expecting a ParserTest object which is
almost never the case when using the NewParserTest for PHPUnit. The class
name is forged after the file name! They at least all extends NewParserTest

no polymorphism? no multiple hinting. Be creative the PHP way by writing
your own code :-(

Platonides's comment:

Hehe, it triggers a warning 'Use of unknown class NewParserTest in line 547'

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to