https://bugzilla.wikimedia.org/show_bug.cgi?id=30107

       Web browser: ---
             Bug #: 30107
           Summary: [PageObjectModel] Error "Access type for interface
                    method POMParser::Parse() must be omitted in
                    [...]/Parser.php on line 13"
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: [other]
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: samuel.la...@gmail.com
    Classification: Unclassified


When using the trunk version (r93427) of PageObjectModel with MediaWiki
1.19alpha (r93431) I get the following message:

Fatal error: Access type for interface method POMParser::Parse() must be
omitted in /home/samuel/www/smw-trunk/extensions/PageObjectModel/POM/Parser.php
on line 13
Call Stack
#    Time    Memory    Function    Location
1    0.0003    371272    {main}( )    ../index.php:0
2    0.0011    400204    require(
'/home/samuel/www/smw-trunk/includes/WebStart.php' )    ../index.php:53
3    0.0272    1453440    require_once(
'/home/samuel/www/smw-trunk/LocalSettings.php' )    ../WebStart.php:134
4    0.0367    2008800    include_once(
'/home/samuel/www/smw-trunk/extensions/PageObjectModel/PageObjectModel.php' )  
 ../LocalSettings.php:145
5    0.0368    2018776    require_once(
'/home/samuel/www/smw-trunk/extensions/PageObjectModel/POM.php' )   
../PageObjectModel.php:9

The error message dissappears if I change, on line 13 in
/home/samuel/www/smw-trunk/extensions/PageObjectModel/POM/Parser.php, from:

    static abstract function Parse( POMPage $page );

... to:

    static function Parse( POMPage $page );

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to