1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Merge pull request #7526 from ohader/event-naming

This commit is contained in:
Bruce Weirdan 2022-01-31 00:44:37 +02:00 committed by GitHub
commit e3050b17d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -70,14 +70,6 @@ final class AfterFunctionLikeAnalysisEvent
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;