codesamplex

Beispiel

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

sha256:99735de344e626b8f3741b0538e45cefd7cff7ff2edda6937ff085d4a2757b15

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Prove that a negatable console option reports a missing value as a distinct state. HOW
Pakete
symfony/console 8.1.4
Umgebung
php
Erstellt
2026-08-16T13:56:04Z

Häufige Annahme

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

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege