You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use org\bovigo\vfs\vfsStream;
$root = vfsStream::setup('x');
var_dump($root->url());
// var_dump(unlink($root->url())); // exception is thrown - correct: Operation not permitted
// var_dump(rename($root->url(), $root->url() . '/a/a')); // exception is thrown - correct: No such file or directory
var_dump(rename($root->url(), $root->url() . '/b')); // no exception, but it is wrong - directory can not be moved to itself
var_dump($root->url());
var_dump(is_dir($root->url()));
Code to reproduce:
Current output:
Expected output:
The text was updated successfully, but these errors were encountered: