Bug 782401

Summary: php-phpunit-phpcpd 1.3.2 is incompatible with php-phpunit-File-Iterator 1.3.0
Product: [Fedora] Fedora EPEL Reporter: Ewoud Kohl van Wijngaarden <ewoud+redhat>
Component: php-phpunit-phpcpdAssignee: Guillaume Kulakowski <guillaume>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: christof, guillaume
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-10 06:17:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ewoud Kohl van Wijngaarden 2012-01-17 11:49:37 UTC
Description of problem:
Whenever I run phpcpd it bails out with a fatal error.


Version-Release number of selected component (if applicable):
php-phpunit-File-Iterator.noarch 1.3.0-1.el6
php-phpunit-phpcpd.noarch 1.3.2-1.el6


How reproducible:
Every time


Steps to Reproduce:
1. install php-phpunit-phpcpd (1.3.2-1.el6)
2. execute `phpcpd .` (doesn't matter where)
  

Actual results:
PHP Fatal error:  Call to undefined method File_Iterator_Factory::getFilesAsArray() in /usr/share/pear/PHPCPD/TextUI/Command.php on line 199


Expected results:
A normal run


Additional info:
https://github.com/sebastianbergmann/phpcpd/commit/ceb8153ea9855c44179d96bf8d06a8c05c5ea2a5 seems to be the fix which is included in 1.3.3.

Comment 1 Guillaume Kulakowski 2013-04-10 06:17:06 UTC
No 1.3.1 update, fixed with the next update : 1.4.1