Skip to content

Releases: xp-framework/reflection

3.3.0: Constant invoke expressions

02 Nov 11:18
Compare
Choose a tag to compare
  • Added support for static method calls in constant expressions in PHP 7.
    This allows using first-class callables as annotation arguments.
    (@thekid)

3.2.0: Asymmetric visibility

27 Aug 18:20
Compare
Choose a tag to compare

2.15.0: Backports

27 Aug 18:17
Compare
Choose a tag to compare
  • Backport PR #43, asymmetric visibility for properties - @thekid
  • Backport PR #41, lang.reflection.Type::declaredName() - @thekid

3.1.0: Global package & declared name

28 Mar 19:14
Compare
Choose a tag to compare
  • Merged PR #41: Add lang.reflection.Type::declaredName() which returns
    the class name without the namespace, if any
    (@thekid)
  • Merged PR #40: Add support for the global package, fixing issue #39
    (@thekid)

3.0.0: XP 12 compatibility, context removal

23 Mar 18:12
Compare
Choose a tag to compare
  • Merged PR #38: Remove context from properties, methods, constructors and
    initializers
    (@thekid)
  • Made this library compatible with XP 12, droppping support for all but
    the latest PHP 7 version. Minimum PHP version required is now 7.4!
    (@thekid)

2.14.1: Imports fix for eval

30 Sep 17:23
Compare
Choose a tag to compare
  • Fixed FromAttributes::imports() for classes created inside eval
    (@thekid)

2.14.0: Partial meta information

23 Sep 10:26
Compare
Choose a tag to compare
  • Added support for partial meta information - @thekid

2.13.6: Generics fix

25 Jun 20:47
Compare
Choose a tag to compare
  • Fixed missing xp::$sn lookup when reflecting generics - @thekid

2.13.5: Signature fixes

25 Jun 15:02
Compare
Choose a tag to compare
  • Fixed parameter default values, by-reference and variadic markers,
    and parameter and return types being swallowed for functions inside
    annotations when using PHP 7
    (@thekid)

2.13.4: Imports parsing fix

25 Jun 13:55
Compare
Choose a tag to compare
  • Fixed parsing global imports and grouped imports containing aliases,
    which surfaced as either Syntax error, unexpected token as or
    Cannot use object of type PhpToken as array errors
    (@thekid)