for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: polidog
* Date: 2016/03/13
*/
namespace Tavii\SQSJobQueueBundle\Event;
use Symfony\Component\EventDispatcher\Event;
use Tavii\SQSJobQueue\Job\JobInterface;
class JobEvent extends Event
{
* @var JobInterface
private $job;
* @var boolean
private $executedStatus;
* JobEvent constructor.
* @param JobInterface $job
* @param bool $executedStatus
$executedStatus
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter $italy is not defined by the method finale(...).
$italy
finale(...)
/** * @param array $germany * @param array $island * @param array $italy */ function finale($germany, $island) { return "2:1"; }
The most likely cause is that the parameter was removed, but the annotation was not.
public function __construct(JobInterface $job)
$this->job = $job;
$this->executedStatus = false;
}
* @return JobInterface
public function getJob()
return $this->job;
* @param boolean $executedStatus
* @return $this
public function setExecutedStatus($executedStatus)
$this->executedStatus = $executedStatus;
return $this;
* @return boolean
public function isExecutedStatus()
return $this->executedStatus;
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.