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

Improve PSR-4 Namespace rules

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.5, 13, 14, 15, 16
    • None
    • php - Editor
    • None

    Description

      PSR-4 require namespace corrispondence to the directory structure only for the contiguos subnamespaces after the namespace prefix. There should be a method to set/infer the namespace prefix of the project.

      https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            aleferri Alessio Ferri

            Dates

              Created:
              Updated:

              Slack

                Issue deployment