Supported Nested Tags

  • fileset

    Either this nested tag or the attribute file is required.

  • config

    The configuration parameters which are usually loaded from the CodeSniffer.conf can be set.

    Table 127. Attributes

    Name Type Description Default Required
    name String Name of the configuration parameter. n/a Yes
    value String Value of the configuration parameter. n/a Yes

  • formatter

    The results of the tests can be printed in different formats. Output will always be sent to a file, unless you set the usefile attribute to false.

    Table 128. Attributes

    Name Type Description Default Required
    type String The output format. Accepts the same values as the format attribute (default, xml, checkstyle, csv, report, summary & doc). n/a Yes
    usefile Boolean Boolean that determines whether output should be sent to a file. true No
    outfile String Path to write output file to. n/a Yes, if usefile is true.