[pkg-php-pear] Bug#819620: Bug#819620: php-symfony-security-acl: FTBFS: Trying to configure method "getId" which cannot be configured because it does not exist, has not been specified, is final, or is static

Daniel Beyer dabe at deb.ymc.ch
Thu Mar 31 12:09:26 UTC 2016

Control: retitle -1 Incompatibility of phpunit 5.2.12-1 with phpunit-mock-object 3.1.2-1 makes php-symfony-security-acl FTBFS
Control: reassign -1 phpunit
Control: affects -1 php-symfony-security-acl
Control: severity -1 important
Control: tags -1 +patch

Am Donnerstag, den 31.03.2016, 10:54 +0200 schrieb Daniel Beyer:
> (...)
> Using the nightly beta build of phpunit 5.3 (from phpunit.de) I see
> exactly the same error, thus I suspect it is related to
> phpunit-mock-objects. I'll forward this issue upstream later today.

Actually phpunit 5.3, with the exact same message, throws only a warning
instead of an error. Looking more closely phpunit-mock-object 3.1.2-1
now "Trigger an error when final or private method is configured" [1].
In phpunit 5.3 this is lowered to a warning, but phpunit 5.2 is not
aware of this new error now thrown by phpunit-mock-objects.
So the combination of phpunit 5.2.12-1 and phpunit-mock-object 3.1.2-1,
which we currently have in Debian, is the real problem.

Thus I reassigned this bug to phpunit by lowering the severity to
important. I prepared a patch in phpunit's Debian packaging repo [2] in
branch 'fix-mock-object-3.1-compatibility-with-phpunit-5.2', which as
well is attached to this message.

It would be great if someone from the team could check on this and do
the actual upload for me, since I have no upload rights.


[1] https://github.com/sebastianbergmann/phpunit-mock-objects/issues/296
[2] http://anonscm.debian.org/cgit/pkg-php/phpunit.git/?h=fix-mock-object-3.1-compatibility-with-phpunit-5.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-patch-to-add-phpunit-mock-object-3.1.x-compatibi.patch
Type: text/x-patch
Size: 2816 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160331/e17c3592/attachment.bin>

More information about the pkg-php-pear mailing list