샘플
Fix ParserFactory::create() fatalling after upgrading nikic/php-parser to v5
sha256:c4176f13ba0e8f85f39a4eab0dbbeb9630be1dd5d0d6d9d8d7223193eca43a14
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Fix ParserFactory::create() fatalling after upgrading nikic/php-parser to v5 MIGRATION
- 패키지
- nikic/php-parser 5.8.0
- 환경
- php 8
- 생성일
- 2026-08-15T14:11:39Z
컨트랙트
- parse code with the v5 factory method
- assert the v4 ParserFactory::create method no longer exists
- assert a syntax error raises an exception instead of returning null
- assert the platform php version is pinned so the contract runs where it resolved
파일
- composer.json
- composer.lock
- csx.json
- phpunit.xml
- src/Parse.php
- test/ParseTest.php
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-15 · ed25519:d91480838ac982c9