Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

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

    Here is I solved:

    Open the extension settings:

    And search for the variable you want to change, and unchecked/checked it

    The variables you should consider are:

    intelephense.diagnostics.undefinedTypes 
    intelephense.diagnostics.undefinedFunctions         
    intelephense.diagnostics.undefinedConstants         
    intelephense.diagnostics.undefinedClassConstants 
    intelephense.diagnostics.undefinedMethods 
    intelephense.diagnostics.undefinedProperties 
    intelephense.diagnostics.undefinedVariables
    

提交回复
热议问题