KnpLabs/Gaufrette — pull request #190 by joostfaassen (2013-06-24 20:09:07+00:00)
Title: Change streamMode to read-only on url_start

Here's a minor fix that allows opening read-only files through Gaufrette/StreamWrapper.

Without this fix, Gaufrette opens all streams as read/write before calling stat() on them.
Afaik this is not needed, only 'r' is sufficient. Without this fix, calling 'stat' on read-only files fails.