diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 01:31:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 01:31:45 +0900 |
| commit | ccc62145d5ca22d22ff01bf387d6fd3d27ab87b5 (patch) | |
| tree | f83eaec9bddcc6d461667784e65e757b040cd2b4 /crates/shirabe-semver/src/constraint | |
| parent | 910d1060c7ce98d01017d6239eaad600b6830cf0 (diff) | |
| download | php-shirabe-ccc62145d5ca22d22ff01bf387d6fd3d27ab87b5.tar.gz php-shirabe-ccc62145d5ca22d22ff01bf387d6fd3d27ab87b5.tar.zst php-shirabe-ccc62145d5ca22d22ff01bf387d6fd3d27ab87b5.zip | |
feat(port): port Intervals.php
Add Clone derives to Constraint, Interval, and DevConstraintSet
(needed for IntervalCollection).
Add preg_match/preg_replace/preg_split stubs to shirabe-php-shim.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-semver/src/constraint')
| -rw-r--r-- | crates/shirabe-semver/src/constraint/constraint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe-semver/src/constraint/constraint.rs b/crates/shirabe-semver/src/constraint/constraint.rs index 68adba9..e35b3e4 100644 --- a/crates/shirabe-semver/src/constraint/constraint.rs +++ b/crates/shirabe-semver/src/constraint/constraint.rs @@ -8,7 +8,7 @@ use shirabe_php_shim as php; use crate::constraint::bound::Bound; use crate::constraint::constraint_interface::ConstraintInterface; -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Constraint { pub(crate) operator: i64, pub(crate) version: String, |
