for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Godbout\Alfred\Time\Services;
abstract class TimerService
{
public $allowsEmptyProject = true;
public $allowsEmptyTag = true;
abstract public function startTimer();
abstract public function runningTimer();
abstract public function stopCurrentTimer();
abstract public function continueTimer($timerId);
public function deleteTimer($timerId)
$timerId
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function deleteTimer(/** @scrutinizer ignore-unused */ $timerId)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return false;
}
abstract public function projects();
abstract public function tags();
abstract public function pastTimers();
public function __toString()
return strtolower((new \ReflectionClass(static::class))->getShortName());
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.