1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/CHANGELOG.md
2018-04-19 17:29:07 -04:00

618 B

Version 2.0.0-dev (2018-04-19)

  • Uses PHP Parser 4 (and thus requires PHP 7)
  • Issue type MoreSpecifcImplementedReturnType has been renamed LessSpecificImplementedReturnType
  • Issue type PossiblyUndefinedArrayOffset is triggered for possibly undefined array keys (previously bucketed into PossiblyUndefinedVariable)
    $foo = rand(0, 1) ? ['a' => 1, 'b' => 2] : ['a' => 3];
    echo $foo['b'];
    
  • removed stopOnFirstError <psalm /> config attribute, which hasn't been used in ages
  • removed UntypedParam issue type, which also hasn't been used (MissingParamType is the replacement)