mikey179/vfsstream
vfsStream provides a PHP stream wrapper for an in-memory virtual file system, ideal for unit tests. Mock files, directories, permissions, and content without touching disk, and use it with PHPUnit, SimpleTest, or any test framework.
Full Changelog: https://github.com/bovigo/vfsStream/compare/v1.6.11...v1.6.12
This is a maintenance release adding support for PHP 8.2.
$content property in vfsStreamWrapperThis release's notes have been redacted. See release notes for vfsStream 1.6.11 instead.
[See the purpose of this release in #271]
This is a maintenance release adding support for PHP 8.1.
vfsStreamContainerIterator::current()vfsStreamContainerIterator::next()vfsStreamContainerIterator::key()vfsStreamContainerIterator::rewind()vfsStreamDirectory::getIterator()vfsStreamPrintVisitor::printContent()This release's notes have been redacted. See release notes for vfsStream 1.6.10 instead.
[See the purpose of this release in #263]
StringBasedFileContent for PHP 8.1 (#252)FileContent::write(), SeekableFileContent::write(), and vfsStreamFile::write() to fix static analysis toolsStringBasedFileContent::doRead to always return a string (#204)vfsStream::create() and vfsStream::setup() now can contain instances of org\bovigo\vfs\content\FileContent and org\bovigo\vfs\vfsStreamFile, patch provided by Joshua Smith (@jsmitty12)vfsStream::url() didn't urlencode single path parts while vfsStream::path() did urldecode themThis release introduces support for block devices, implemented by @hborawski. For more details see documentation on block devices.
To be more in line with normal files, unlinking a non-existing file now triggers a PHP warning, when before it just failed silently.
For downloading, see installation instructions.
How can I help you explore Laravel packages today?