diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-05 00:30:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-05 00:32:15 +0900 |
| commit | a73e44e327776ac4ba79737eea6b6ad00cf00da6 (patch) | |
| tree | 812a3dc7d49edb6724c7fbd744c63813c8009563 /crates/shirabe-php-shim | |
| parent | b36410024e46a7de5314af6549ba39bf88fe598c (diff) | |
| download | php-shirabe-a73e44e327776ac4ba79737eea6b6ad00cf00da6.tar.gz php-shirabe-a73e44e327776ac4ba79737eea6b6ad00cf00da6.tar.zst php-shirabe-a73e44e327776ac4ba79737eea6b6ad00cf00da6.zip | |
fix(platform): match PHP truthy semantics for CI env checks
Platform::get_env("CI").is_some()/is_none() only checked whether the
variable was set, unlike PHP's (bool) Platform::getEnv('CI') which
treats "" and "0" as falsy. CI="0" (used by some CI providers to
explicitly disable CI mode) would previously flip behavior compared to
Composer.
Diffstat (limited to 'crates/shirabe-php-shim')
0 files changed, 0 insertions, 0 deletions
