aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/create_project.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-22 15:33:18 +0900
committernsfisis <nsfisis@gmail.com>2026-02-22 15:33:18 +0900
commit3bddf91f8fe386cc9d908ed498ea0b3235790904 (patch)
tree85e59f694609a9c36eaed059591a774023b7b49a /crates/mozart/src/commands/create_project.rs
parentf7f1ae38b765a10cb37fb2ecc68daea3401954fd (diff)
downloadphp-mozart-3bddf91f8fe386cc9d908ed498ea0b3235790904.tar.gz
php-mozart-3bddf91f8fe386cc9d908ed498ea0b3235790904.tar.zst
php-mozart-3bddf91f8fe386cc9d908ed498ea0b3235790904.zip
fix(platform): detect PHP version from runtime instead of hardcoding 8.1
PlatformConfig::new() was hardcoded to PHP 8.1 with a fixed extension list, causing resolution failures for packages requiring newer PHP (e.g. Laravel 12 requires >=8.2). Now calls detect_platform() to discover the actual PHP version, extensions and capabilities. Also adds a mutex to composer_home_dir tests to prevent env-var races. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/create_project.rs')
0 files changed, 0 insertions, 0 deletions