샘플
Configure ANSI decoration, interactivity, and output verbosity in Symfony Console via NO_COLOR, FORCE_COLOR, SHELL_VERBOSITY and COLUMNS environment variables without presence-only truthiness or quiet-mode silencing traps
sha256:daa9d0d39f0c0c2c98dd7a96aa84ddffba6366d269e338ad0e2fc99133d716ea
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Configure ANSI decoration, interactivity, and output verbosity in Symfony Console via NO_COLOR, FORCE_COLOR, SHELL_VERBOSITY and COLUMNS environment variables without presence-only truthiness or quiet-mode silencing traps HOW
- 패키지
- symfony/console 7.4.16
- 환경
- php
- 생성일
- 2026-08-16T08:53:54Z
컨트랙트
- StreamOutput disables color when NO_COLOR is non-empty even if set to '0' or 'false'
- StreamOutput forces color on when FORCE_COLOR is set even if set to '0' or 'false'
- StreamOutput prioritizes NO_COLOR over FORCE_COLOR when both are set
- StreamOutput prioritizes $_SERVER over getenv for NO_COLOR and FORCE_COLOR overrides
- Application configureIO forces input interactivity to false when SHELL_VERBOSITY is negative or -q is passed
- Application configureIO propagates SHELL_VERBOSITY to getenv, $_ENV, and $_SERVER during command execution
- Application restores previous SHELL_VERBOSITY environment state after run completes
- Terminal getWidth uses COLUMNS integer value directly without falling back to 80 on zero or invalid strings
파일
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-16 · ed25519:d91480838ac982c9