Today I released PHP_Depend 0.9.4, which contains many bug fixes and improvements.
Fixed #92: Handling of types within instanceof-operator fixed.
Closed #90: Support for single file parsing/analyzing implemented.
Closed #88: Tokens provide information about the start and end column.
Closed #87: Support for type definitions within comments implemented.
Closed #40: Cli debug flag added. PHP_Depend will print additional debug information to STDERR when this cli switch is set.
The ProjectAwareI and NodeAwareI interfaces extend the AnalyzerI interface, which makes analyzer mocking easier.
Switch from PHP_Depend specific constants for public, protected, private methods & properties to modifiers compatible with PHP's reflection-extension.
Support for static modifier for properties&methods and final for methods added.
Support for class final modifier added.
Support for chained types like "false|Iterator" or "array(false|Iterator)" in doc comments added.
You can get the latest PHP_Depend version from its PEAR channel: pear.pdepend.org
mapi@arwen ~ $ pear channel-discover pear.pdepend.org
mapi@arwen ~ $ pear install pdepend/PHP_Depend
Fields with bold names are mandatory.