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

Updated the delta to accommodate the param name changes when going from 7.4 to 8.0

This commit is contained in:
Kevin van Sonsbeek 2022-06-02 00:30:33 +02:00
parent 894e4e4c02
commit 943131688d

View File

@ -133,6 +133,22 @@ return [
'old' => ['bool', 'name'=>'string', 'content'=>'string', 'isParam'=>'bool', 'publicId'=>'string', 'systemId'=>'string', 'notationData'=>'string'],
'new' => ['bool', 'name'=>'string', 'content'=>'string', 'isParam='=>'bool', 'publicId='=>'?string', 'systemId='=>'?string', 'notationData='=>'?string'],
],
'SplFileObject::fgetcsv' => [
'old' => ['list<string>|array{0: null}|false|null', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['list<string>|array{0: null}|false|null', 'seperator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
],
'SplFileObject::fputcsv' => [
'old' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'seperator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
],
'SplTempFileObject::fgetcsv' => [
'old' => ['list<string>|array{0: null}|false|null', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['list<string>|array{0: null}|false|null', 'seperator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
],
'SplTempFileObject::fputcsv' => [
'old' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'seperator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
],
'array_combine' => [
'old' => ['associative-array|false', 'keys'=>'string[]|int[]', 'values'=>'array'],
'new' => ['associative-array', 'keys'=>'string[]|int[]', 'values'=>'array'],