Andrewsville/PHP-Token-Reflection — Issue #38: Invalid value definition
Author: RadekDvorak
Created: 2012-02-19 19:14:03+00:00
State: open

Apigen fails and blames TokenReflection library. It states the cause of the exception was:

'"Invalid value definition." was the T_WHITESPACE token (line 28) in following part of SomeClass::ACCESS_DEPRECATED source code'.

The reported line looks like ' const ACCESS_DEPRECATED = '3' ;' (tab indents, space after the constant value before the semicolon). Removing the space after the constant value helps as a workaround.