Page MenuHomePhabricator

Fix CentralAuth error: "PHP Strict Standards: Declaration should be compatible with parent class"
Closed, ResolvedPublic

Description

Hi I am getting this error

Strict Standards: Declaration of SpecialUsersWhoWillBeRenamed::execute() should be compatible with SpecialPage::execute($subPage) in /home/simplera/public_html/en/extensions/CentralAuth/includes/specials/SpecialUsersWhoWillBeRenamed.php on line 14

Strict Standards: Declaration of UsersWhoWillBeRenamedPager::preprocessResults() should be compatible with IndexPager::preprocessResults($result) in /home/simplera/public_html/en/extensions/CentralAuth/includes/specials/SpecialUsersWhoWillBeRenamed.php on line 171

I am running mediawiki 1.25 wmf 22. and I am using latest version from branch master from 20/3/15.

Event Timeline

Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox subscribed.
Paladox set Security to None.
Paladox updated the task description. (Show Details)

By adding $subPage and $result fixes problem.

Change 198404 had a related patch set uploaded (by Paladox):
Fix bug T93435

https://gerrit.wikimedia.org/r/198404

Krinkle renamed this task from CentralAuth error to Fix CentralAuth error: "PHP Strict Standards: Declaration should be compatible with parent class".Mar 20 2015, 10:26 PM

Change 198404 merged by jenkins-bot:
SpecialUsersWhoWillBeRenamed: Fix incompatible method override

https://gerrit.wikimedia.org/r/198404

Umherirrender claimed this task.

Change 198481 had a related patch set uploaded (by Paladox):
SpecialUsersWhoWillBeRenamed: Fix incompatible method override

https://gerrit.wikimedia.org/r/198481

Change 198481 abandoned by Paladox:
SpecialUsersWhoWillBeRenamed: Fix incompatible method override

https://gerrit.wikimedia.org/r/198481