for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Api\Entity;
use Doctrine\ORM\EntityRepository;
class EmissionRepository extends EntityRepository
{
public function findAllBySector($year)
return $this->createQueryBuilder()
createQueryBuilder()
$alias
This check looks for function calls that miss required arguments.
from()
$from
join()
$join
->from()
->join()
->where()
->groupBy()
->setParameter()
->getResult(':year', $year);
}
This check looks for function calls that miss required arguments.