Ajout d'une étape de linting dans DroneCi (#3)

Corrige un doublons laissé par le rebase semi-manuel

Ajout d'une étape de linting dans DroneCi

Fix linting

Co-authored-by: Nigel Sheldon <nigelsheldon@live.fr>
Reviewed-on: https://gitea.nemunai.re/halo-battle/game/pulls/3
This commit is contained in:
Nigel 2020-11-21 18:54:32 +00:00
commit dd61d3b66b
263 changed files with 45327 additions and 42695 deletions

View file

@ -6,37 +6,36 @@
*/
class Attaques
{
var $groupes = array();
public $groupes = array();
/**
* Constructor
*/
function __construct()
{
/**
* Constructor
*/
public function __construct()
{
}
}
public function addGroupe($groupe)
{
$this->groupes[] = $groupe;
}
function addGroupe($groupe)
{
$this->groupes[] = $groupe;
}
public function checkAllGroupes()
{
foreach ($groupes as $key => $groupe) {
$this->checkGroupe($key);
}
}
function checkAllGroupes()
{
foreach ($groupes as $key => $groupe)
$this->checkGroupe($key);
}
function checkGroupe($id)
{
if (is_a($this->groupes[$id], "Groupe"))
{
if ($this->groupes[$id]->)
{
}
}
$groupes[$id]->
}
public function checkGroupe($id)
{
// if (is_a($this->groupes[$id], "Groupe"))
// {
// if ($this->groupes[$id]->)
// {
//
// }
// }
// $groupes[$id]->
}
}
?>