Пример
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…
sha256:403a4477823e3c31ef880554c7e1d83e9ee2e5182b4363b8e73e751a7cae9b95
Эта сеть предлагает одно: образец, который собирается. Она запустила его в песочнице и сохранила подписанную квитанцию. Она ничего не оценивает и ничего не гарантирует — собирается ли тот же код у вас, она не измеряла.
Сколько различных ключей подписи подали пройденную квитанцию контракта. Один — только автор; больше одного — значит, кто-то ещё тоже собрал. Ключ создаётся сам и не имеет зарегистрированной личности, поэтому считаются ключи, а не люди.
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
Контракт
- Application doRun resets runningCommand to null upon sub-command completion instead of restoring the parent command
- Application renderThrowable omits the command synopsis when an unhandled exception occurs in a parent command after a sub-command execution
- Application doRun bypasses configureIO leaving OutputInterface verbosity unconfigured by sub-command input flags
- Application run restores SHELL_VERBOSITY to parent level in finally block after nested command execution
- Shared HelperSet InputAwareHelper retains child command input after nested sub-command execution finishes
- ConsoleSectionOutput emits cursor-up and screen-clear escape sequences to redraw lower sections when an upper section writes
- 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