RoboFile.php
public function phploc($report = FALSE)
	{
		// Command for generating reports
		$report_cmd_parts = [
			'vendor/bin/phploc',
			'--count-tests',
			'--log-csv=build/logs/phploc.csv',
			'--log-xml=build/logs/phploc.xml',
			'src',
			'tests'
		];

		// Command for generating direct output
		$normal_cmd_parts = [
			'vendor/bin/phploc',
			'--count-tests',
			'src',
			'tests'
		];

		$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;

		$this->_run($cmd_parts);
	}
public function phploc($report = FALSE)
	{
		// Command for generating reports
		$report_cmd_parts = [
			'vendor/bin/phploc',
			'--count-tests',
			'--log-csv=build/logs/phploc.csv',
			'--log-xml=build/logs/phploc.xml',
			'src',
			'tests'
		];

		// Command for generating direct output
		$normal_cmd_parts = [
			'vendor/bin/phploc',
			'--count-tests',
			'src',
			'tests'
		];

		$cmd_parts = ($report) ? $report_cmd_parts : $normal_cmd_parts;

		$this->_run($cmd_parts);
	}
public function phploc ( $ report = FALSE ) { // Command for generating reports $ report_cmd_parts = [ 'vendor/bin/phploc' , '--count-tests' , '--log-csv=build/logs/phploc.csv' , '--log-xml=build/logs/phploc.xml' , 'src' , 'tests' ] ; // Command for generating direct output $ normal_cmd_parts = [ 'vendor/bin/phploc' , '--count-tests' , 'src' , 'tests' ] ; $ cmd_parts = ( $ report ) ? $ report_cmd_parts : $ normal_cmd_parts ; $ this -> _run ( $ cmd_parts ) ; }
Run the phploc tool

@param bool $report - if true, generates reports instead of direct output
Run the phploc tool