codesamplex

サンプル

Normalize default answers and validate responses consistently across interactive and non-interactive QuestionHelper execution

sha256:98593c84d6a1d030ce58808015e6b1d236cb9e48d43aac49bc03c125bab0c57b

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Normalize default answers and validate responses consistently across interactive and non-interactive QuestionHelper execution HOW
パッケージ
symfony/console v8.1.4
環境
php
作成日
2026-08-16T14:41:09Z

よくある思い込み

QuestionHelper applies configured Question normalizers to default values in non-interactive execution before validating and returning the response.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート