for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of cloak.
*
* (c) Noritaka Horio <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace cloak\result\specification;
use cloak\result\Specification;
use cloak\result\CoverageResultNode;
* Class Satisfactory
* @package cloak\result\specification
class Satisfactory extends CoverageSpecification implements Specification
{
* {@inheritdoc}
public function match(CoverageResultNode $coverageResult)
return $coverageResult->isCoverageGreaterEqual($this->coverage);
}