for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace AlecRabbit\Tools;
class Timer extends AbstractTimer
{
/**
* @return float
*/
public function current(): float
return
microtime(true);
}
* @param float $start
* @param float $stop
protected function assertStartAndStop($start, $stop): void
$this->assertStart($start);
$this->assertStop($stop);
protected function assertStart(/** @scrutinizer ignore-unused */ float $start): void
// Intentionally left blank
protected function assertStop(/** @scrutinizer ignore-unused */ float $stop): void