donatj / mock-webserver

Simple mock web server in PHP for unit testing.
MIT License
133 stars 21 forks source link

Truly ignoring exceptions from fclose #68

Closed cgimenes closed 10 months ago

cgimenes commented 10 months ago

https://github.com/donatj/mock-webserver/issues/67

donatj commented 10 months ago

fclose doesn't throw anything, so there's nothing to catch here.

https://www.php.net/manual/en/function.fclose.php

Return Values

Returns true on success or false on failure.

Can you provide an example of the problem you are attempting to resolve?

donatj commented 10 months ago

This was resolved by 1887dcbd8b4a52dde23a43f0d303c4509a065e83