Problem
Loop counters and pagination use ++$i / $i++ (#137). Until implemented, phpc lint should point to #137 instead of a generic Unsupported expression for PreInc, PostInc, PreDec, PostDec.
Goal
Map php-cfg increment/decrement expression kinds in UnsupportedRegistry + docs/unsupported-syntax.md.
Scope
Acceptance criteria
./phpc lint -r '++$i;' 2>&1 | grep 137
Verification
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
vendor/bin/phpunit --filter UnsupportedRegistryTest
Links
Problem
Loop counters and pagination use
++$i/$i++(#137). Until implemented,phpc lintshould point to #137 instead of a genericUnsupported expressionforPreInc,PostInc,PreDec,PostDec.Goal
Map php-cfg increment/decrement expression kinds in
UnsupportedRegistry+docs/unsupported-syntax.md.Scope
Expr_PreInc, etc.) via lint probeUnsupportedRegistryTest+ docs rowAcceptance criteria
Verification
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ vendor/bin/phpunit --filter UnsupportedRegistryTestLinks