PHP code example of cloak / robo-coveralls-kit

1. Go to this page and download the library: Download cloak/robo-coveralls-kit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cloak / robo-coveralls-kit example snippets


class RoboFile extends Tasks
{
	use \coverallskit\robo\loadTasks;

	public function coverallsUpload()
	{
		$result = $this->taskCoverallsKit()
			->configureBy('coveralls.toml')
			->run();

		return $result;
	}
}

public function coverallsTest()
{
	$result = $this->taskCoverallsKit()
		->configureBy('coveralls.toml')
		->saveOnly()
		->run();

	return $result;
}