for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Core\Utils\EntityUtils;
use Core\DatabaseManager;
class EntityUpdate
{
public static function update($entity)
$entity
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
DatabaseManager::getEntityManager()->flush();
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.