Re: [Wikitech-l] PHPUnit 6+ on older versions of MW

2018-05-16 Thread Kunal Mehta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, On 05/15/2018 11:25 PM, Jeroen De Dauw wrote: > Failing tests: > https://travis-ci.org/JeroenDeDauw/Maps/builds/375344161 > > Code: https://github.com/JeroenDeDauw/Maps OK, so you need to use the PHPUnit4And6Compat trait as explained in[1]. Th

Re: [Wikitech-l] PHPUnit 6+ on older versions of MW

2018-05-15 Thread Jeroen De Dauw
Hey Legoktm, This is for the Maps extension, though I will also need to deal with this elsewhere. Failing tests: https://travis-ci.org/JeroenDeDauw/Maps/builds/375344161 Code: https://github.com/JeroenDeDauw/Maps I'd be ideal to have the older versions of MediaWiki use PHPUnit 6.x or later, but

Re: [Wikitech-l] PHPUnit 6+ on older versions of MW

2018-05-13 Thread Kunal Mehta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, On 05/12/2018 11:37 PM, Jeroen De Dauw wrote: > I updated one of my extensions to use PHPUnit 6+ and am having > troubles getting the tests to run with older versions of MediaWiki. > In particular, I'd like my tests to run with MW 1.27. I suspec

[Wikitech-l] PHPUnit 6+ on older versions of MW

2018-05-12 Thread Jeroen De Dauw
Hey, I updated one of my extensions to use PHPUnit 6+ and am having troubles getting the tests to run with older versions of MediaWiki. In particular, I'd like my tests to run with MW 1.27. I suspect this is somehow possible and has already been done in other extensions. Cheers -- Jeroen De Dauw