for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace Churn\Process;
class CyclomaticComplexityProcess extends ChurnProcess implements CyclomaticComplexityInterface
{
/**
* Returns the cyclomatic complexity of a file.
* @return integer
*/
public function getCyclomaticComplexity(): int
return (int) $this->getOutput();
}