diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-06 04:00:20 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-06 04:00:20 +0900 |
| commit | 9a6881276a6aeb4d3b49046045f6e26303cc6e52 (patch) | |
| tree | bcc585bf358ae9daf9a8ec0eee1e07b98935e6e6 /crates/shirabe-external-packages/src/symfony/console/exception | |
| parent | 92d2199afcecd0056e82d2559700769715401ef0 (diff) | |
| download | php-shirabe-9a6881276a6aeb4d3b49046045f6e26303cc6e52.tar.gz php-shirabe-9a6881276a6aeb4d3b49046045f6e26303cc6e52.tar.zst php-shirabe-9a6881276a6aeb4d3b49046045f6e26303cc6e52.zip | |
fix(symfony-filesystem): restore upstream behavior in five spots
Port the Symfony Filesystem branches this file had left out:
* copy() preserves the origin mtime via touch()
* exists() rejects paths longer than PHP_MAXPATHLEN - 2, so its return
type becomes anyhow::Result<bool>
* doRemove()'s symlink branch keeps the DIRECTORY_SEPARATOR disjunct,
which stops it from throwing on Unix where upstream never does
* symlink() normalizes separators and mirrors instead of linking when
copyOnWindows is set
* mirror() skips entries whose real path is the target directory or was
already created earlier in the same call
PHP_MAXPATHLEN is new in shirabe-php-shim.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/exception')
0 files changed, 0 insertions, 0 deletions
