php-vfs
php-vfs copied to clipboard
Very simple filesystem emulating PHP stream wrapper for use in unit testing with PHPUnit, PHPSpec or any other testing framework. It offers means to test methods interacting with real filesystem witho...
avoid `substr(): Passing null to parameter #1 ($string) of type string is deprecated`
I just came across the `realpath` issue while testing. Would it be possible to add a static function to, perhaps, `Wrapper` which handle the paths for us? To work around...
Simple to reproduce: ```php chmod($fs->path('/var'), 0600); chown($fs->path('/var'), 'root'); touch($fs->path('/var/foo')); // path('/var/foo'), 'bar'); //
Hi. It seems that php-vfs doesn't return default `.` and `..` pseudo folders on scandir call, so i'm having problems in setting up an environment that would repeat real one.