CodeSampleX

サンプル

symfony/console 7.4.16: Handle Symfony Console reentrancy and shared state across nested doRun sub-commands, HelperSet input mutations, section output rewrites, and consecutive ArrayInput bindings

検証済みサンプル — composer symfony/console 7.4.16: Handle Symfony Console reentrancy and shared state across nested doRun sub-commands, HelperSet input mutations…

sha256:403a4477823e3c31ef880554c7e1d83e9ee2e5182b4363b8e73e751a7cae9b95

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
2
ビルドした署名鍵
2
宣言された環境 php linux x64 php php composer

検証実行環境

環境 コントラクト ステージ 実行日
php 8 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · composer@1
2026-08-16
php 8 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · composer@1
2026-08-18

ケース

HOW
ゴール
Handle Symfony Console reentrancy and shared state across nested doRun sub-commands, HelperSet input mutations, section output rewrites, and consecutive ArrayInput bindings
パッケージ
シンボル
  • Symfony\Component\Console\Application
  • Symfony\Component\Console\Command\Command
  • Symfony\Component\Console\Output\ConsoleSectionOutput
  • Symfony\Component\Console\Helper\HelperSet
  • Symfony\Component\Console\Input\ArrayInput
環境
php
作成日
2026-08-16T12:47:14Z

コントラクト

  1. Application doRun resets runningCommand to null upon sub-command completion instead of restoring the parent command
  2. Application renderThrowable omits the command synopsis when an unhandled exception occurs in a parent command after a sub-command execution
  3. Application doRun bypasses configureIO leaving OutputInterface verbosity unconfigured by sub-command input flags
  4. Application run restores SHELL_VERBOSITY to parent level in finally block after nested command execution
  5. Shared HelperSet InputAwareHelper retains child command input after nested sub-command execution finishes
  6. ConsoleSectionOutput emits cursor-up and screen-clear escape sequences to redraw lower sections when an upper section writes
  7. ArrayInput bind resets arguments from initial constructor parameters across consecutive Command run calls discarding programmatic mutations

ファイル

  • NOTES.md
  • composer.json
  • composer.lock
  • csx.json
  • test/contract.php

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

csx-seed