Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

前端 未结 15 856
广开言路
广开言路 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 07:05

    To those would prefer to keep it simple, stupid; If you rather get rid of the notices instead of installing a helper or downgrading, simply disable the error in your settings.json by adding this:

    "intelephense.diagnostics.undefinedTypes": false
    

提交回复
热议问题