Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add AfterFunctionLikeAnalysisEvent::getFunctionlikeStorage #7526

Merged
merged 1 commit into from Jan 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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