Opened 12 years ago

Last modified 10 years ago

#35291 closed defect

phpunit doesn't work with php 5.4.5 — at Version 1

Reported by: Garfield-fr (Bertrand Zuchuat) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: pear-PHPUnit

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I have this error after upgrade 5.4.4 to 5.4.5:

Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45

Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:') in /opt/local/lib/php54/pear/share/pear/PHPUnit/Autoload.php on line 45

before upgrade, my phpunit work.

My pear install is on: /opt/local/lib/php54/pear/

My php.ini config:

include_path = ".:/opt/local/lib/php54/pear/:/opt/local/lib/php54/pear/share/pear/"

Please help me.

Thanks

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: phpunit removed
Port: phpunit added

Remember to use WikiFormatting when writing in Trac.

Which port have you used to install phpunit: "pear-PHPUnit" or one of the older ports whose names begin with "php5-unit"?

Note: See TracTickets for help on using tickets.