Skip to content

0.6.1

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 21 Jan 21:05

Bugfixes:

  • RequireParentConstructCallRule - fixed checking static method call on an expression, not class name (#92)
  • Added fourth parameter to DatePeriod constructor definition (#89)
  • Fixed a bunch of issues that emerged while using multiple class reflection extensions:
    • DefaultValueTypesAssignedToPropertiesRule - always access native class properties
    • TypesAssignedToPropertiesRule - respect local scope when getting the property
    • ClassReflection - better scope-aware caching of properties
    • ClassReflection - getting a method is also scope-aware
  • Define variables from var for further arguments in method call
  • Support assigning variables in array keys
  • Find variable assigns in left part of instanceof
  • Condition in switch statement was not processed and checked
  • Exclude analysis of traits in files excluded from analysis
  • Exclude analysis of traits outside of analysed paths
  • Method parameter with type string accepts object with __toString() method (#94)