1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/src/Psalm
Bruce Weirdan 425d9fa8bf
Recognize casts from object-with-properties to array
Previously `(array)(object)['a' => 1, 'b' => 'foo']` would result in
`array<array-key, mixed>`. Now it would be inferred as
`array{a:1,b:foo,...<array-key,mixed>}`
2022-12-16 20:12:02 -04:00
..
CodeLocation Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
Config Use rector to add property typehints 2022-12-11 17:25:23 -06:00
Exception Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
Internal Recognize casts from object-with-properties to array 2022-12-16 20:12:02 -04:00
Issue Forbid most magic methods on enums 2022-12-12 03:03:20 -04:00
Node Finalize virtual nodes 2022-02-07 02:05:47 +02:00
Plugin SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
Progress Use rector to add property typehints 2022-12-11 17:25:23 -06:00
Report SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
SourceControl SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
Storage Added SlevomatCodingStandard.TypeHints.ParameterTypeHint sniff and removed php-cs-fixer 2022-12-14 20:26:17 -06:00
Type Added SlevomatCodingStandard.TypeHints.ParameterTypeHint sniff and removed php-cs-fixer 2022-12-14 20:26:17 -06:00
Aliases.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
Codebase.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
CodeLocation.php Use rector to add property typehints 2022-12-11 17:25:23 -06:00
Config.php Merge pull request #8885 from lptn/php-ext-with-deprecation 2022-12-15 21:17:38 +01:00
Context.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
DocComment.php preg_replace with anchor will always only have 1 replacement, add limit for clarity and performance 2022-09-08 18:51:33 +02:00
ErrorBaseline.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
FileBasedPluginAdapter.php Use rector to add property typehints 2022-12-11 17:25:23 -06:00
FileManipulation.php Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
FileSource.php Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
IssueBuffer.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00
NodeTypeProvider.php
PluginFileExtensionsSocket.php Use rector to add property typehints 2022-12-11 17:25:23 -06:00
PluginRegistrationSocket.php Use rector to add property typehints 2022-12-11 17:25:23 -06:00
Report.php Fix report name: Issue level, not issue severity 2022-12-01 22:11:29 +00:00
StatementsSource.php
Type.php SlevomatCodingStandard.Commenting.DocCommentSpacing 2022-12-14 13:34:41 -06:00