Maher4Ever / guard-phpunit

Guard::PHPUnit automatically runs your tests
http://maher4ever.github.com/guard-phpunit/
MIT License
73 stars 47 forks source link

Declaration of PHPUnit_Extensions_Progress_ResultPrinter::printDefects() is not compatible with PHPUnit_TextUI_ResultPrinter #17

Open hhellbusch opened 10 years ago

hhellbusch commented 10 years ago

Not 100% sure if this falls in the domain of guard-phpunit - but i'm assuming it is because the error is spawning from the guard-phpunit folder.

I'm using PHPUnit 4.1.3

13:38:15 - INFO - Strict standards: Declaration of PHPUnit_Extensions_Progress_ResultPrinter::printDefects() should be compatible with PHPUnit_TextUI_ResultPrinter::printDefects(array $defects, $type) in /usr/local/lib/ruby/gems/2.0.0/gems/guard-phpunit-0.1.4/lib/guard/phpunit/formatters/PHPUnit->Progress/PHPUnit/Extensions/Progress/ResultPrinter.php on line 14 [#3E716657CF46] [#3E716657CF46] Call Stack: [#3E716657CF46] 0.0011 167440 1. {main}() /usr/local/bin/phpunit:0 [#3E716657CF46] 0.0204 420224 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:582 [#3E716657CF46] 0.0204 420540 3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit/ phpunit/TextUI/Command.php:132 [#3E716657CF46] 0.0204 421780 4. PHPUnit_TextUI_Command->handleArguments() phar:///usr/local/ bin/phpunit/phpunit/TextUI/Command.php:141 [#3E716657CF46] 0.0211 447016 5. PHPUnit_TextUI_Command->handlePrinter() phar:///usr/local/bi n/phpunit/phpunit/TextUI/Command.php:589 [#3E716657CF46] 0.0220 505328 6. require('/usr/local/lib/ruby/gems/2.0.0/gems/guard-phpunit-0 .1.4/lib/guard/phpunit/formatters/PHPUnit-Progress/PHPUnit/Extensions/Progress/ResultPrinter.php') phar:/ //usr/local/bin/phpunit/phpunit/TextUI/Command.php:757

cnarez commented 10 years ago

Same problem here PHPUnit 4.1.4.

This is the complete log https://gist.github.com/cnarez/c6b4e4d92e5776d64db3