Changelog

Summary of versions changes

Additions and changes:
  • drop support of PHP 5.2

  • add Composer support

Bug fixes:
  • avoid wrong trait detection if source code used a class property named trait: $this→trait

Additions and changes:
  • none

Caution this version is the last to support PHP 5.2. Next API 2.0 will drop this support
Bug fixes:
  • avoid wrong namespace detection if source code used a class property named namespace: $this→namespace (Thanks to Remi Collet to notice me a strong behavior in class report)

Additions and changes:
  • Latest version of branch 1.x

  • Little memory usage optimisation : tokens list are not kept after source parsing.

  • visibility property for class method parsing was added by default.

Bug fixes:
  • none

Additions and changes:
  • add T_FINALLY and T_YIELD tokens support for PHP 5.5

Bug fixes:
  • none

Additions and changes:
  • support for token T_CALLABLE on PHP lower than 5.4

Bug fixes:
  • PHP_CompatInfo GH-83: Freeze while scanning a big project (Thanks to Igor Klipach)

Additions and changes:
  • none

Bug fixes:
  • constants of extensions are no more considered as user constant

Additions and changes:
  • add user, class and magic constants detection

  • declares methods getNamespaces(), getTraits(), getInterfaces(), getClasses(), getFunctions() and getConstants().

Bug fixes:
  • Wrong detection of function name when a closure uses a typehint for the first argument

Additions and changes:
  • add new method isNamespaceWarning() that allow to know if PHP platform is PHP 5.2 and source code scanned included namespace syntax

  • refactoring the documentation build phing script (split generic and specific code)

Bug fixes:
  • none

Additions and changes:
  • throws a runtime exception when data source filename does not exists

Bug fixes:
  • detect function with ampersand in front of their name (thanks to Stefan Neufeind)

  • detect function signature with array as type-hint in parameters list (thanks to Stefan Neufeind)

Additions and changes:
  • none

Bug fixes:
  • wrong namespace used for class when importing other namespaces

Additions and changes:
  • none

Bug fixes:
  • avoid conflict between use when importing namespace and solve conflicts in trait class usage

Additions and changes:
  • improved namespaces support with imports (Aliasing/Importing). See new example 3 in Configure Properties section of the User Guide.

  • both PDF A4 and US doc format are now available to download

Bug fixes:
  • none

Additions and changes:
  • additionnal TRAIT support (PHP 5.4.0 feature) with magic constant --TRAIT--

  • EPUB doc format is now available to download

Bug fixes:
  • none

Additions and changes:
  • add TRAIT support (PHP 5.4.0 feature)

  • refactoring of getArguments() method introduced in previous version 1.1.0

Bug fixes:
  • none

Additions and changes:
  • PHP_Reflect_Token_FUNCTION::getArguments() return values changed : see examples/scanFunctionArguments.php and User Guide Configure/Properties section (example 2). Thanks to Stefan Neufeind for its patch/proposal.

  • add test suite for issues reported

  • upgrades build phing xml file : use latest asciidoc version (8.6.6)

Bug fixes:
  • none

Additions and changes:
  • none

Bug fixes:
  • trimmed whitespace on PHP_Reflect_Token_FUNCTION::getSignature() method

Additions and changes:
  • replace missing AllTests.php script to launch all tests at once by configuration file phpunit.xml

Bug fixes:
  • Signature truncated on methods with array as defaultvalue (issue #1)

Additions and changes:
  • WARNING: Autoloader is no more loaded by default.

  • add AllTests.php script to launch all tests at once.

  • add source documentation that can be build with AsciiDoc (see docs/README.txt)

Bug fixes:
  • none

Additions and changes:
  • no changes since version 0.7.0

Bug fixes:
  • none

Additions and changes:
  • adds globals variable support

Bug fixes:
  • typo errors on IncludeTest.php file about method covers; allow to use --coverage phpunit feature

Additions and changes:
  • enhance namespaces support

Bug fixes:
  • two tests condition in abstract class PHP_Reflect_TokenWithScope, getEndTokenId() method

Additions and changes:
  • PEAR dependency decreased from 1.9.2 to 1.9.0 to allow EPEL repository packaging

Bug fixes:
  • when a namespace is active, keep it as current context

Additions and changes:
  • adds full support for Namespace with PHP 5.3.0 or greater

  • adds total of lines, code lines and no code lines

Bug fixes:
  • none

Additions and changes:
  • adds an independant autoloader function

Bug fixes:
  • none

Additions and changes:
  • none

Bug fixes:
  • getIncludes method introduced dupplicated values with PHP_CompatInfo 2

Additions and changes:
  • improved options handler

  • getDocblock method accept more than just phpdoc comment style

  • add docblock in each test units

Additions and changes:
  • change base install directory

  • First public release