Coding standards are directories located in the
CodeSniffer/Standards directory. Valid coding standards
include a Sniffs subdirectory.
public static getInstalledStandards ( boolean $includeGeneric = false, string $standardsDir = '' ) : array | ||
$includeGeneric | boolean | If true, the special "Generic" coding standard will be included if installed. |
$standardsDir | string | A specific directory to look for standards in. If not specified, PHP_CodeSniffer will look in its default locations. |
return | array |