Strict standards: Static function PasswordTestCase::providePasswordTests() should...
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 20 Sep 2014 17:09:04 +0000 (19:09 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 20 Sep 2014 17:17:02 +0000 (19:17 +0200)
Caused by 96771e3a655bad2d3a9440fababaf2dcf5a62bc5. No idea why that
change merged successfully.

Change-Id: I946f179699a5f249b032c4c8f90a9e6d2b033f55

tests/phpunit/includes/password/PasswordTestCase.php

index ef16f1c..78fc3ed 100644 (file)
@@ -51,8 +51,11 @@ abstract class PasswordTestCase extends MediaWikiTestCase {
         * parameter (a password) should match.
         *
         * @return array
+        * @abstract
         */
-       abstract public static function providePasswordTests();
+       public static function providePasswordTests() {
+               throw new MWException( "Not implemented" );
+       }
 
        /**
         * @dataProvider providePasswordTests