classes/phing/tasks/ext/PhpCodeSnifferTask.php
public function setStandard($standards)
    {
        $this->standards = [];
        $token = ' ,;';
        $ext = strtok($standards, $token);
        while ($ext !== false) {
            $this->standards[] = $ext;
            $ext = strtok($token);
        }
    }
public function setStandard($standards)
    {
        $this->standards = [];
        $token = ' ,;';
        $ext = strtok($standards, $token);
        while ($ext !== false) {
            $this->standards[] = $ext;
            $ext = strtok($token);
        }
    }
public function setStandard ( $ standards ) { $ this -> standards = [ ] ; $ token = ' ,;' ; $ ext = strtok ( $ standards , $ token ) ; while ( $ ext !== false ) { $ this -> standards [ ] = $ ext ; $ ext = strtok ( $ token ) ; } }
Sets the coding standard to test for

@param string $standards The coding standards

@return void
Sets the coding standard to test for