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

Code Sniffer - make default standard optional

    XMLWordPrintableJSON

Details

    Description

      Code Sniffer configuration in Options > PHP > Code Analysis > Code Sniffer requires selecting Default standard even if it is optional parameter.

      Code Sniffer can be run without parameter '--standard' and in that case it is looking for configuration files. See the relevant part of documentation.

      If user wants to use own configuration, he has to use parameter '--standard' as part of Code Sniffer path in configuration (NETBEANS-3243). Default standard still required.
      Suggested fix is to make Default standard optional.

      Attachments

        Issue Links

          Activity

            People

              Kacer Tomáš Procházka
              Kacer Tomáš Procházka
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 10m
                  2h 10m