Bug #62710 [NEW]: Declaration ... must be compatible with ... issue under namespace usage

From: Date: Tue, 31 Jul 2012 20:32:44 +0000
Subject: Bug #62710 [NEW]: Declaration ... must be compatible with ... issue under namespace usage
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172360@lists.php.net to get a copy of this message
From:             divin dot sorcier at gmail dot com
Operating system: ubuntu 12.04 LTS
PHP version:      Irrelevant
Package:          *General Issues
Bug Type:         Bug
Bug description:Declaration ... must be compatible with ... issue under namespace usage

Description:
------------
fabien@golap:~/entrepreneurship/solutions/developpement/frameworks$ php
--version
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli) (built: Jun 13 2012
17:20:55) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
fabien@golap:~/entrepreneurship/solutions/developpement/frameworks$ php -c
~/entrepreneurship/solutions/administration-systeme/php-config/cli/frameworks.ini
bif/sf/persistence/userTables/tests/tu_SF_CreateUserTables.php 1234567

Fatal error: Declaration of
spocita\bif\sf\persistence\functionalStrategy\SF_ExactRowNumber::compare()
must be compatible with that of
spocita\bif\sf\persistence\functionalStrategy\SF_IComparisonStrategy::compare()
in
/home/entrepreneurship/solutions/developpement/frameworks/bif/sf/persistence/functionalStrategy/php/SF_ExactRowNumber.php
on line 10
[Exit 255]


Test script:
---------------
Seems very similar to bug #60717. 



Expected result:
----------------
Get rid of weird message and being able to compile (apparently) correct
code. 




-- 
Edit bug report at https://bugs.php.net/bug.php?id=62710&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62710&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62710&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62710&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62710&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62710&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62710&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62710&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62710&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62710&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62710&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62710&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62710&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62710&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62710&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62710&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62710&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62710&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62710&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62710&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62710&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62710&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#172360) next »