Skip to content
Snippets Groups Projects
Commit 986eae75 authored by Camille Simiand's avatar Camille Simiand
Browse files

Rebase

parent 4d0c956c
No related branches found
No related tags found
1 merge request!65tuleap-178-upgrading-php-from-7-4-to-8-1
...@@ -11,7 +11,7 @@ use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; ...@@ -11,7 +11,7 @@ use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
#[ORM\Entity(repositoryClass:GroupRepository::class)] #[ORM\Entity(repositoryClass:GroupRepository::class)]
#[ORM\Table(name:'`group`')] #[ORM\Table(name:'`group`')]
#[ORM\UniqueConstraint(columns: ['name', 'author'])] #[ORM\UniqueConstraint(columns: ['name', 'author'])]
#[UniqueEntity(fields:['name', 'author'], errorPath:'name', message:'group.name.unique')] #[UniqueEntity(fields: ['name', 'author'], message: 'group.name.unique', errorPath: 'name')]
class Group class Group
{ {
public static int $GROUP_ALL_ID = -1; public static int $GROUP_ALL_ID = -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment