public function create(array $paths)
    {
        $standards = new Standards();
        foreach ($paths as $path) {
            $standards->addStandard($this->standardFactory->create($path));
        }

        return $standards;
    }
public function create(array $paths)
    {
        $standards = new Standards();
        foreach ($paths as $path) {
            $standards->addStandard($this->standardFactory->create($path));
        }

        return $standards;
    }
public function create ( array $ paths ) { $ standards = new Standards ( ) ; foreach ( $ paths as $ path ) { $ standards -> addStandard ( $ this -> standardFactory -> create ( $ path ) ) ; } return $ standards ; }
Creates PHPCodeSniffer standards from paths.

@param array $paths Paths with PHPCodeSniffer standard paths.

@return Standards PHPCodeSniffer standards object.
Creates PHPCodeSniffer standards from paths .