Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

前端 未结 15 802
广开言路
广开言路 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:04

    1.3.3 fixed it. Just update your extension.

    0 讨论(0)
  • 2020-12-04 07:05

    If you see this immediately after adding a new Vendor class, be sure to run the VScode command (control-shift-P) Index Workspace

    0 讨论(0)
  • 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
    
    0 讨论(0)
提交回复
热议问题