# DeprecatedMethod Emitted when calling a deprecated method on a given class: ```php foo(); ``` ## How to fix Don’t use the deprecated method.