1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

[TASK] Remove deprecated AfterFunctionLikeAnalysisEvent::getClasslikeStorage

This commit is contained in:
Oliver Hader 2022-01-30 17:02:56 +01:00 committed by Bruce Weirdan
parent 421ae3b254
commit 6fd31cb5fa
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D
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;