codesamplex

Sample

8.1.0 to 8.1.1: prove that ChoiceQuestion prompts render defaults containing formatter tags as rendered choice labels.

sha256:ae1a499897750c8baef2d33ae92fd9a2c03aa1cc45eba0e27941d6eae190bf20

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
8.1.0 to 8.1.1: prove that ChoiceQuestion prompts render defaults containing formatter tags as rendered choice labels. HOW
Packages
symfony/console 8.1.1
Environment
php
Created
2026-08-16T17:42:19Z

Commonly assumed

A developer expects the default ChoiceQuestion label to be escaped, so `<comment>...` appears in the prompt brackets.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts