diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-05 17:29:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-05 17:29:12 +0900 |
| commit | 49b0884701a84731652fc934d428932ff6029bd4 (patch) | |
| tree | 7477029b8ed686b9b3b06d960cab2b54ba87b579 /crates/mozart-core/src/platform.rs | |
| parent | 4623874d1c95414dcd5ae194d2561f2d98b40982 (diff) | |
| download | php-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.gz php-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.zst php-mozart-49b0884701a84731652fc934d428932ff6029bd4.zip | |
chore: remove redundant comments
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::*; |
