mirror of
https://github.com/moodle/moodle.git
synced 2025-03-28 11:32:42 +01:00
While the uses here were not causing too much problem with PHPUnit execution in any OS, better have them explicitly closed to better serve as reference for other, future uses anywhere in codebase. Always that a stream is used, better we close it as soon as possible, not relying on destructors, gc and friends.