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
Normally, when you mkdir('/this/already/exists', recursive: true) a path that already exists, php does not complain (although it does if you don't specify "recursive"). THis means that a recursive mkdir is a simple one-line way to ensure the directory exists, without having to wrap it in manual checks.
In vfsStream though, it will say "mkdir(): Path vfs://this/already/exists exists", which means you can't correctly test the behavior of something that relies on mkdir(recursive: true).
The text was updated successfully, but these errors were encountered:
Normally, when you
mkdir('/this/already/exists', recursive: true)
a path that already exists, php does not complain (although it does if you don't specify "recursive"). THis means that a recursive mkdir is a simple one-line way to ensure the directory exists, without having to wrap it in manual checks.In vfsStream though, it will say "mkdir(): Path vfs://this/already/exists exists", which means you can't correctly test the behavior of something that relies on
mkdir(recursive: true)
.The text was updated successfully, but these errors were encountered: