Skip to content

0.9.2

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 28 Jan 14:23

Bugfixes:

  • Support object typehint in closures (67aaf24) - #664
  • Support parent typehint in closures (78b4b8e) - #664
  • Fixed issue with universal object crate classes (99f4195) - #663
  • VariableCertaintyInIssetRule - do not check never-defined variables in global scope (03d73a9) - #674
  • Fixed case when the autoloader encounters class_exists or similar call (962e5dd) - #754, thanks @Slamdunk!
  • get_defined_functions function has one optional parameter (de167d1) - #756, thanks @carusogabriel!
  • Fixed callable instanceof (5879f70) - #760
  • InvalidPhpDocTagValueRule - do not report tags mentioned in the middle of a description (8dddd06)
  • Fixed switch issue with multiple early-terminating statements in a case (870e449) - #693
  • Fixed evaluation of short ternary operator (14f1e1c) - #749
  • More ternary operator fixes (bfdd4ac)
  • For loop - condition must be evaluated after loop statements have possibly ran (0af3f4c) - #698
  • While loop condition can be influenced by the loop body (df13d5f) - #743
  • CallToNonExistentFunctionRule - fixed handling timecop extension functions (8fe942a) - #769
  • VariableCertaintyInIssetRule - do not report always existing variables in finally block (1aed7a5
    ) - #766
  • finally block cannot rely on the whole try block being executed - influences variable types and definition certainty (7efd23c) - #778
  • Fixed issue with foreach variable (236bb9b) - #622
  • Fixed issue with empty catch block (9de0492) - #642
  • Support for logical and & or operators (2ccadb6) - #774
  • Variable is set when isset() asks about property or array index on a variable (062f455) - #744
  • Fixed foreach issue with variable certainty after the loop (0da95fc) - #778
  • Ignore nonexistent getallheaders function (61091bb) - #781
  • TypeSpecifier: fix is_a with static::class (e21b4de) - #788, #792, thanks @JanTvrdik!
  • Detect unknown classes in array and iterable key types (eb9d1cd) - #790
  • isset() also ensures non-nullability of all chain elements (6a0adc2) - #799
  • Fixed variable certainty in for loop condition (b7e7158)