public function checkCodestyle($sniffersPath = null)
	{
		if (is_null($sniffersPath))
		{
			$sniffersPath = __DIR__ . '/.tmp/coding-standards';
		}

		$this->taskCodeChecks()
			->setBaseRepositoryPath(__DIR__)
			->setCodeStyleStandardsFolder($sniffersPath)
			->setCodeStyleCheckFolders(
				array(
					'src'
				)
			)
			->checkCodeStyle()
			->run()
			->stopOnFail();
	}
public function checkCodestyle($sniffersPath = null)
	{
		if (is_null($sniffersPath))
		{
			$sniffersPath = __DIR__ . '/.tmp/coding-standards';
		}

		$this->taskCodeChecks()
			->setBaseRepositoryPath(__DIR__)
			->setCodeStyleStandardsFolder($sniffersPath)
			->setCodeStyleCheckFolders(
				array(
					'src'
				)
			)
			->checkCodeStyle()
			->run()
			->stopOnFail();
	}
public function checkCodestyle ( $ sniffersPath = null ) { if ( is_null ( $ sniffersPath ) ) { $ sniffersPath = __DIR__ . '/.tmp/coding-standards' ; } $ this -> taskCodeChecks ( ) -> setBaseRepositoryPath ( __DIR__ ) -> setCodeStyleStandardsFolder ( $ sniffersPath ) -> setCodeStyleCheckFolders ( array ( 'src' ) ) -> checkCodeStyle ( ) -> run ( ) -> stopOnFail ( ) ; }
Check the code style of the project against a passed sniffers using PHP_CodeSniffer_CLI

@param   string $sniffersPath Path to the sniffers. If not provided Joomla Coding Standards will be used.
@return  void
Check the code style of the project against a passed sniffers using PHP_CodeSniffer_CLI