vfsStream Mock file system calls. pear.php-tools.net vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. BSD doc doc - added support for file modes, users and groups (with restrictions, see http://code.google.com/p/bovigo/wiki/vfsStreamDocsKnownIssues) - fixed bug #5: vfsStreamDirectory::addChild() does not replace child with same name - fixed bug with is_writable() because of missing stat() fields, patch provided by Sergey Galkin - support trailing slashes on directories in vfsStream urls, patch provided by Gabriel Birke - fixed bug #4: vfsstream can only be read once, reported by Christoph Bloemer - enabled multiple iterations at the same time over the same directory - fixed path/directory separator issues under linux systems - fixed uid/gid issues under linux systems - added support for rmdir() - added vfsStream::newDirectory(), dropped vfsStreamDirectory::ceate() - added new interface vfsStreamContainer - added vfsStreamContent::at() which allows code like $file = vfsStream::newFile('file.txt.')->withContent('foo')->at($otherDir); - added vfsStreamContent::lastModified(), made vfsStreamContent::setFilemtime() an alias for this - moved from Stubbles development environment to bovigo - refactorings to reduce crap index of various methods - moved vfsStreamWrapper::PROTOCOL to vfsStream::SCHEME - added new vfsStream::url() method to assist in creating correct vfsStream urls - added vfsStream::path() method as opposite to vfsStream::url() - a call to vfsStreamWrapper::register() will now reset the root to null (implemented on request from David Zuelke) - added support for is_readable(), is_dir(), is_file() - added vfsStream::newFile() to be able to do $file = vfsStream::newFile("foo.txt")->withContent("bar"); Initial release.