Skip to content

Commit fec8028

Browse files
committed
REmove --platform-php from spec
1 parent 6c38f3e commit fec8028

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

plans/ENVLITE_SPECIFICATION.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,16 @@ explicit user assent. Users who want a fully clean slate run
988988
deprecations; that's a per-group fix, not envlite's problem.
989989
3. **No `composer.lock`, by upstream design.** Every Phase 4 run
990990
resolves fresh from `composer.json`. envlite does not generate or
991-
check in a lock; doing so would diverge from upstream.
991+
check in a lock; doing so would diverge from upstream. For the same
992+
reason Phase 4 does **not** pass `--platform-php` and does not set
993+
`config.platform.php`: the resolver evaluates against runtime PHP,
994+
not the 7.4 floor. Pinning to the floor would be a half-measure
995+
without a lockfile (Composer still picks "latest compatible" each
996+
run) and would penalize devs on newer PHP for no test-contract win
997+
— the green-bar contract is `phpunit --group html-api` on the host
998+
PHP, which is exactly what runtime-resolved deps target. WP CI also
999+
resolves against its matrix PHP, so envlite mirrors CI rather than
1000+
masking it.
9921001
4. **The SQLite plugin path placeholder is dead.** Documented in Phase 5.
9931002
5. **Two distinct config files.** `wp-tests-config.php` (Phase 6) and
9941003
`src/wp-config.php` (Phase 7) are loaded by different bootstrap paths

0 commit comments

Comments
 (0)