for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace VideoGamesRecords\CoreBundle\Manager;
use Doctrine\DBAL\Exception;
use VideoGamesRecords\CoreBundle\Entity\Game;
use VideoGamesRecords\CoreBundle\Repository\GameRepository;
class GameManager
{
private GameRepository $gameRepository;
public function __construct(GameRepository $gameRepository)
$this->gameRepository = $gameRepository;
}
/**
* @param Game $game
*/
public function maj(Game $game): void
$this->gameRepository->maj($game);
public function copy(Game $game): void
$this->gameRepository->copy($game);
public function setProofVideoOnly(Game $game): void
$game
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function setProofVideoOnly(/** @scrutinizer ignore-unused */ Game $game): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.