Convert a project [`PhpVersion`](crate::types::PhpVersion) into the mago-formatter's [`PHPVersion`](mago_php_version::PHPVersion).
(v: crate::types::PhpVersion)
| 229 | /// Convert a project [`PhpVersion`](crate::types::PhpVersion) into the |
| 230 | /// mago-formatter's [`PHPVersion`](mago_php_version::PHPVersion). |
| 231 | fn to_mago_php_version(v: crate::types::PhpVersion) -> mago_php_version::PHPVersion { |
| 232 | mago_php_version::PHPVersion::new(v.major as u32, v.minor as u32, 0) |
| 233 | } |
| 234 | |
| 235 | // ── External tool pipeline ────────────────────────────────────────── |
| 236 |
no outgoing calls