From 2ff25dc307bc7e2d204feb368fc27bae8ce24ede Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Jun 2026 14:07:19 +0900 Subject: feat(filesystem): port Symfony Filesystem methods Faithfully port the Symfony Filesystem component methods (copy, mkdir, exists, touch, remove, chmod, rename, symlink, hard_link, read_link, make_path_relative, mirror, is_absolute_path, dump_file, append_to_file, temp_nam) from the PHP source, using existing php-shim functions and std where no shim exists. chown/chgrp need chown(2) (no std/shim equivalent) and the mirror filter-iterator branch is unmodeled; both left as todo!() with documented reasons. The four Composer\Util\Filesystem helpers mistakenly stubbed here stay todo!(). Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe-semver/src/version_parser.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/shirabe-semver/src') diff --git a/crates/shirabe-semver/src/version_parser.rs b/crates/shirabe-semver/src/version_parser.rs index 3e4a748..c06d6e0 100644 --- a/crates/shirabe-semver/src/version_parser.rs +++ b/crates/shirabe-semver/src/version_parser.rs @@ -896,9 +896,6 @@ mod split_and_constraints_tests { #[test] fn three_and_constraints() { - assert_eq!( - split(">=1.0 <2.0 !=1.5"), - vec![">=1.0", "<2.0", "!=1.5"] - ); + assert_eq!(split(">=1.0 <2.0 !=1.5"), vec![">=1.0", "<2.0", "!=1.5"]); } } -- cgit v1.3.1