sebastianbergmann/phpunit — pull request #1480 by chrisguitarguy (2014-10-25 02:14:56+00:00)
Title: Allow IsType('resource') to Match Closed Resources

Closes #1451

This uses `get_resource_type` to fetch the "type" of a closed resource
which is "Unknown". `is_resource` returns false for closed resources.