Static function 'X' should not be abstract
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Aaron Wells | ||
1.7 |
Fix Released
|
Low
|
Unassigned | ||
1.8 |
Fix Released
|
Low
|
Unassigned | ||
1.9 |
Fix Released
|
Low
|
Unassigned |
Bug Description
I noticed these errors for mahara:
PHP Strict Standards: Static function PluginArtefact:
PHP Strict Standards: Static function PluginArtefact:
PHP Strict Standards: Static function PluginArtefact:
PHP Strict Standards: Static function ArtefactType:
PHP Strict Standards: Static function ArtefactType:
PHP Strict Standards: Static function ArtefactType:
PHP Strict Standards: Static function PluginBlocktype
PHP Strict Standards: Static function PluginBlocktype
PHP Strict Standards: Static function PluginBlocktype
PHP Strict Standards: Static function PluginBlocktype
PHP Strict Standards: Static function PluginBlocktype
PHP Strict Standards: Static function PluginExport:
PHP Strict Standards: Static function PluginExport:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function GroupType:
PHP Strict Standards: Static function LeapImportArtef
PHP Strict Standards: Static function LeapImportArtef
PHP Strict Standards: Static function PluginImport:
PHP Strict Standards: Static function PluginInteracti
PHP Strict Standards: Static function PluginInteracti
PHP Strict Standards: Static function InteractionInst
PHP Strict Standards: Declaration of ActivityTypeUse
PHP Strict Standards: Static function Plugin:
PHP Strict Standards: Static function PluginNotificat
PHP Strict Standards: Static function PluginSearch:
PHP Strict Standards: Static function PluginSearch:
PHP Strict Standards: Static function PluginSearch:
PHP Strict Standards: Static function PluginSearch:
-------
By the looks of things the way we are designing our abstract functions is not quite correct. Looking at http://
"Dropped abstract static class functions. Due to an oversight, PHP 5.0.x and 5.1.x allowed abstract static functions in classes. As of PHP 5.2.x, only interfaces can have them."
And looking at http://
We may need to switch to late static bindings (or something else)
Changed in mahara: | |
importance: | High → Low |
milestone: | 1.10.0 → 1.8.4 |
milestone: | 1.8.4 → 1.10.0 |
Changed in mahara: | |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
assignee: | nobody → Aaron Wells (u-aaronw) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3474