CodeSampleX

Beispiel

Show that a negatable console option has a distinct missing state in Symfony Console.

sha256:66851aa35da80cad2e2c527ec33ddb7a9ecd26f302e88b8c5ce66e44f7d9a15e

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Show that a negatable console option has a distinct missing state in Symfony Console. HOW
Pakete
symfony/console 8.1.4
Umgebung
php
Erstellt
2026-08-17T01:12:02Z

Häufige Annahme

A model may expect an omitted `InputOption::VALUE_NEGATABLE` option to be returned 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