rollbar / rollbar-php-symfony-bundle

Bundle for Symfony that integrates Rollbar tracker
MIT License
28 stars 25 forks source link

phpunit exits with a non-zero status #38

Closed ArturMoczulski closed 5 years ago

ArturMoczulski commented 6 years ago

The problem was brought up in this PR: https://github.com/rollbar/rollbar-php-symfony-bundle/pull/37

Running phpunit test suit results in:

PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Illegal string offset 'failOnRisky' in /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:649
Stack trace:
#0 /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/Command.php(186): PHPUnit_TextUI_TestRunner->doRun(NULL, 'string', true)
#1 /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/Command.php(116): PHPUnit_TextUI_Command->run(Array, true)
#2 /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/phpunit(52): PHPUnit_TextUI_Command::main()
#3 {main}
  thrown in /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php on line 649
Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Illegal string offset 'failOnRisky' in /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php on line 649
Symfony\Component\Debug\Exception\ContextErrorException: Warning: Illegal string offset 'failOnRisky' in /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php on line 649
Call Stack:
    2.0976   16618568   1. Symfony\Component\Debug\ErrorHandler->handleException() /home/travis/build/rollbar/rollbar-php-symfony-bundle/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php:0
ArturMoczulski commented 5 years ago

Fixed in master