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

12 lines
615 B
Markdown
Raw Normal View History

2018-05-12 00:45:19 +02:00
Version 2.0.0 (2018-05-11)
2018-04-19 23:29:07 +02:00
- Uses PHP Parser 4 (and thus requires PHP 7)
2018-05-12 00:45:19 +02:00
- Issue type `MoreSpecificImplementedReturnType` has been renamed `LessSpecificImplementedReturnType`
2018-04-19 23:29:07 +02:00
- Issue type `PossiblyUndefinedArrayOffset` is triggered for possibly undefined array keys (previously bucketed into `PossiblyUndefinedVariable`)
```php
$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)