ci: add php cs fixer

This commit is contained in:
Maël Gangloff
2024-08-02 23:24:52 +02:00
parent cd5060ed6a
commit b460e8aaa6
41 changed files with 1413 additions and 440 deletions

View File

@@ -31,7 +31,7 @@ use Symfony\Component\Uid\Uuid;
denormalizationContext: ['groups' => 'connector:create'],
name: 'create'
),
new Delete()
new Delete(),
]
)]
#[ORM\Entity(repositoryClass: ConnectorRepository::class)]
@@ -46,7 +46,6 @@ class Connector
#[ORM\JoinColumn(nullable: false)]
private ?User $user = null;
#[Groups(['connector:list', 'connector:create', 'watchlist:list'])]
#[ORM\Column(enumType: ConnectorProvider::class)]
private ?ConnectorProvider $provider = null;
@@ -61,7 +60,6 @@ class Connector
#[ORM\OneToMany(targetEntity: WatchList::class, mappedBy: 'connector')]
private Collection $watchLists;
public function __construct()
{
$this->id = Uuid::v4();
@@ -138,5 +136,4 @@ class Connector
return $this;
}
}