aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-25 14:07:19 +0900
committernsfisis <nsfisis@gmail.com>2026-06-25 23:47:47 +0900
commit2ff25dc307bc7e2d204feb368fc27bae8ce24ede (patch)
tree8ff2a100c7014458ce0a7ceb69c4c5c382e33ab9 /crates/shirabe-semver/src
parent4c11cc96b2a979711bf15d600800eedb9bb57e80 (diff)
downloadphp-shirabe-2ff25dc307bc7e2d204feb368fc27bae8ce24ede.tar.gz
php-shirabe-2ff25dc307bc7e2d204feb368fc27bae8ce24ede.tar.zst
php-shirabe-2ff25dc307bc7e2d204feb368fc27bae8ce24ede.zip
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-semver/src')
-rw-r--r--crates/shirabe-semver/src/version_parser.rs5
1 files changed, 1 insertions, 4 deletions
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"]);
}
}