Last modified: 2014-03-26 19:48:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57441, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55441 - Closure type hints
Closure type hints
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: 1.22.x release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-07 20:15 UTC by Mark A. Hershberger
Modified: 2014-03-26 19:48 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2013-10-07 20:15:41 UTC
The closure type hint has been removed in I6bff7e4a95716ef63aa7e07d3d9fef6d20eb65a6 but remains in 1.21.

Additionally, it looks like it is causing trouble for some people even where php is supposed to support it: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/PHP_Catchable_fatal_error_on_new_installation_:_Argument_1_passed_to_ScopedCallback::_construct%28%29_must_be_an_instance_of_Closure

This patch may need to be backported.
Comment 1 Umherirrender 2014-03-26 19:48:16 UTC
Gerrit change #53923 is already part of release 1.22

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links