sebastianbergmann/php-file-iterator — Issue #9: 1.3.0RC1 issue
Author: till
Created: 2011-10-27 14:40:50+00:00
State: open

I had installed that and phpunit dies with

till@dev:~$ phpunit
PHP Fatal error: Class 'File_Iterator' not found in /usr/share/php/File/Iterator/Factory.php on line 105

This was the list of installed packages:

till@dev:~$ pear list -c pear.phpunit.de
Installed packages, channel pear.phpunit.de:
============================================
Package Version State
DbUnit 1.0.3 stable
File_Iterator 1.3.0RC1 beta
PHPUnit 3.5.15 stable
PHPUnit_MockObject 1.1.0RC2 beta
PHPUnit_Selenium 1.1.0RC1 beta
PHP_CodeCoverage 1.0.5 stable
PHP_Timer 1.0.2 stable
PHP_TokenStream 1.1.0RC2 beta
Text_Template 1.1.1RC1 beta
phpUnderControl 0.5.0 beta
phpcpd 1.3.2 stable
phploc 1.6.1 stable

A downgrade to 1.2.6 fixed it.