dualfroz f1a81ad34a fix: only treat the last path segment as a filename in path()
isFilePath() checked the entire path for a dot to decide whether path() was given
a file or a directory. Because the path includes the location and name, a dot in
a parent segment (for example a location like /tmp/my.app) caused a directory
argument to be misclassified as a file, so the requested subdirectory was not
created. Inspect only the last path segment instead.
2026-09-06 00:58:52 +02:00
S
Description
My contributions to spatie/temporary-directory: 2 commits
35 KiB
0 Stars 1 Watchers 0 Forks
Languages
PHP 100%