codesamplex

Beispiel

Configure command metadata and closures under Symfony Console 8 attribute requirements and strict return types

sha256:4744bedefa3787dfb7f70b2934a1a50647e14451335dafebfdf90fd51337f248

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Configure command metadata and closures under Symfony Console 8 attribute requirements and strict return types HOW
Pakete
symfony/console 8.1.4
Umgebung
php
Erstellt
2026-08-16T15:45:24Z

Häufige Annahme

Subclassing Command with a static getDefaultName method automatically defines the command name on instantiation, and closures assigned via setCode may omit explicit integer return values.

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