Skip to content

Commit

Permalink
[TASK] Remove deprecated AfterFunctionLikeAnalysisEvent::getClasslike…
Browse files Browse the repository at this point in the history
…Storage
  • Loading branch information
ohader authored and weirdan committed Jan 30, 2022
1 parent a2977a5 commit c42e051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions UPGRADING.md
Expand Up @@ -209,3 +209,5 @@
- `Psalm\PluginRegistrationSocket::getAdditionalFileExtensions` was removed
- `Psalm\PluginRegistrationSocket::addFileExtension` was removed
- :information_source: migration possible using `Psalm\PluginFileExtensionsSocket`
- [BC] Method `\Psalm\Plugin\EventHandler\Event\AfterFunctionLikeAnalysisEvent::getClasslikeStorage()` was removed,
use correct `\Psalm\Plugin\EventHandler\Event\AfterFunctionLikeAnalysisEvent::getFunctionlikeStorage()` instead
Expand Up @@ -70,14 +70,6 @@ public function getStmt(): Node\FunctionLike
return $this->stmt;
}

/**
* @deprecated Will be removed in Psalm v5.0, use getFunctionlikeStorage() instead
*/
public function getClasslikeStorage(): FunctionLikeStorage
{
return $this->functionlike_storage;
}

public function getFunctionlikeStorage(): FunctionLikeStorage
{
return $this->functionlike_storage;
Expand Down

0 comments on commit c42e051

Please sign in to comment.