1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00

Solidify changes to V2

This commit is contained in:
Matthew Brown 2018-05-11 18:45:19 -04:00 committed by GitHub
parent 5c0f4a999c
commit e1bb0677ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
Version 2.0.0-dev (2018-04-19)
Version 2.0.0 (2018-05-11)
- Uses PHP Parser 4 (and thus requires PHP 7)
- Issue type `MoreSpecifcImplementedReturnType` has been renamed `LessSpecificImplementedReturnType`
- Issue type `MoreSpecificImplementedReturnType` has been renamed `LessSpecificImplementedReturnType`
- 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];