Behat/Behat — pull request #86 by davedevelopment (2012-01-20 12:01:28+00:00)
Title: Don't throw exception where errors are suppressed

I'm currently testing a REST API and using Guzzle in my definitions, unfortunately guzzle uses the @ operator to suppress warnings from the curl functions, but the @ operator doesn't work when you're using a custom error handler, so I'm get spurious error exceptions when running my test suites.

See http://www.php.net/manual/en/language.operators.errorcontrol.php#98895 for a better explanation.

Happy to write some tests if you need them, although I'm not quite sure how to write one...