Skip to content

Commit

Permalink
Add reference changes to UPGRADING documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Jan 11, 2022
1 parent 44e07e6 commit 0dc5f41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UPGRADING.md
Expand Up @@ -115,6 +115,8 @@
- `Psalm\Type\Union`
- While not a BC break per se, all classes / interfaces / traits / enums under
`Psalm\Internal` namespace are now marked `@internal`.
- To remove a variable from the context, Context::remove(). Calling
`unset($context->vars_in_scope[$var_id])` can cause problems when using references.

## Removed
- [BC] Property `Psalm\Codebase::$php_major_version` was removed, use
Expand Down Expand Up @@ -156,5 +158,5 @@
- [BC] Method `Psalm\Issue\CodeIssue::getMessage()` was removed
- [BC] Method `Psalm\DocComment::parse()` was removed
- [BC] Class `Psalm\Type\Atomic\THtmlEscapedString` has been removed

- [BC] Property `Psalm\Context::$vars_from_global` has been removed

0 comments on commit 0dc5f41

Please sign in to comment.