for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* Created by Vitaly Iegorov <[email protected]>.
* on 22.09.16 at 17:45
*/
namespace samsonframework\bitbucket;
* Class Reporter
*
* @author Vitaly Egorov <[email protected]>
abstract class Reporter
{
/** @var string Reporter source path */
protected $path;
* Reporter constructor.
* @param string $path Reporter source path
public function __construct(string $path)
// Validate file
if (!is_file($path)) {
throw new \InvalidArgumentException($path.' - does not exists or not a file');
}
$this->path = $path;