codesamplex

Sample

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

sha256:4744bedefa3787dfb7f70b2934a1a50647e14451335dafebfdf90fd51337f248

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure command metadata and closures under Symfony Console 8 attribute requirements and strict return types HOW
Packages
symfony/console 8.1.4
Environment
php
Created
2026-08-16T15:45:24Z

Commonly assumed

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.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts