Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

前端 未结 15 843
广开言路
广开言路 2020-12-04 06:14

After the latest update of PHP Intelephense that I get today, the intelephense keep showing an error for an undefined symbol for my route (and other class too), there is no

15条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 06:40

    You don't need to downgrade you can:

    Either disable undefined symbol diagnostics in the settings -- "intelephense.diagnostics.undefinedSymbols": false .

    Or use an ide helper that adds stubs for laravel facades. See https://github.com/barryvdh/laravel-ide-helper

提交回复
热议问题