codesamplex

サンプル

Prove that a negatable console option reports a missing value as a distinct state.

sha256:99735de344e626b8f3741b0538e45cefd7cff7ff2edda6937ff085d4a2757b15

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Prove that a negatable console option reports a missing value as a distinct state. HOW
パッケージ
symfony/console 8.1.4
環境
php
作成日
2026-08-16T13:56:04Z

よくある思い込み

A missing negatable boolean option evaluates like other boolean flags and comes back as `false`.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート