diff options
Diffstat (limited to 'crates/mozart-core/src/platform.rs')
| -rw-r--r-- | crates/mozart-core/src/platform.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/mozart-core/src/platform.rs b/crates/mozart-core/src/platform.rs index 47ce2a0..6047b58 100644 --- a/crates/mozart-core/src/platform.rs +++ b/crates/mozart-core/src/platform.rs @@ -3,8 +3,6 @@ // Provides detection of the PHP environment (version, extensions, capabilities) // and helpers for identifying platform package names (php, ext-*, lib-*, etc.). -// ─── Data structures ───────────────────────────────────────────────────────── - /// A detected platform package with its name and version. #[derive(Debug, Clone, PartialEq, Eq)] pub struct PlatformPackage { @@ -12,8 +10,6 @@ pub struct PlatformPackage { pub version: String, } -// ─── Classification ────────────────────────────────────────────────────────── - /// Returns true if the package name is a Composer platform package. /// /// Mirrors `Composer\Repository\PlatformRepository::PLATFORM_PACKAGE_REGEX`: @@ -44,8 +40,6 @@ pub fn is_platform_package(name: &str) -> bool { } } -// ─── Detection ─────────────────────────────────────────────────────────────── - /// Composer runtime API version that Mozart emulates. /// Corresponds to `Composer::RUNTIME_API_VERSION` in Composer. pub const COMPOSER_RUNTIME_API_VERSION: &str = "2.2.2"; @@ -344,8 +338,6 @@ pub fn detect_php_extensions() -> Vec<String> { .collect() } -// ─── Tests ─────────────────────────────────────────────────────────────────── - #[cfg(test)] mod tests { use super::*; |
