PHP の言語レベルが 8.0 以降に設定されている場合に get_class() の呼び出しを報告し、::class に置換することを提案します。

詳しくは、Allow ::class on objects (php.net) を参照してください。