Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3108

PHP: Some features(e.g. Go to declaration) do not work after "new"

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Simple example:

      new self::$test['test'];
      

      This code is valid but not actually supported by Netbeans parser. Nothing of the following works: "find usages"/refactoring/go to declaration

      Other IDE: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            junichi11 Junichi Yamamoto
            sl_ef_user SL EF
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                Slack

                  Issue deployment