Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SafeStream: prevents unnecessary error during register #6
The main reason of this changes is that if error during unregistration of stream happens, php remebers it even if it is suppressed. And SafeStream::register is called in composer autoloading process. So whenever is vendor/autoload.php used, it produces that error. Some third party packages displays the last error by error_get_last() function and it's annoying and unnecessary I think and it can be preveted by this fix.