fix(continuous-integration): correction php-cs-fixer
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good

This commit is contained in:
2022-09-23 16:14:15 +02:00
parent 5f3cc51f5c
commit b78f54b76c
70 changed files with 5943 additions and 5549 deletions

View File

@ -1,11 +1,10 @@
<?php
namespace App\Entity;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
@ -13,7 +12,7 @@ use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
* @ORM\Table(name="groupe")
* @ORM\HasLifecycleCallbacks()
* @ORM\Entity(repositoryClass="App\Repository\GroupRepository")
*
*
* @UniqueEntity(fields="label", message="Un group existe déjà avec ce label")
*/
class Group
@ -31,10 +30,10 @@ class Group
private $label;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
@ -46,12 +45,12 @@ class Group
* @ORM\Column(type="boolean", options={"default" : false})
*/
private $isopen;
/**
* @ORM\Column(type="boolean", options={"default" : false})
*/
private $isworkgroup;
private $isworkgroup;
/**
* @ORM\Column(type="string")
*/
@ -66,7 +65,7 @@ class Group
* @ORM\Column(type="text", nullable=true)
*/
private $attributes;
/**
* @ORM\Column(type="text", nullable=true)
*/
@ -79,7 +78,7 @@ class Group
private $owner;
/**
* @var ArrayCollection $users
* @var ArrayCollection
* @var UserGroup
*
* @ORM\OneToMany(targetEntity="UserGroup", mappedBy="group", cascade={"persist"}, orphanRemoval=true)
@ -91,13 +90,14 @@ class Group
$this->users = new ArrayCollection();
}
//== CODE A NE PAS REGENERER
// == CODE A NE PAS REGENERER
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
//== FIN DU CODE A NE PAS REGENERER
// == FIN DU CODE A NE PAS REGENERER
public function getId(): ?int
{