Skip to content

Commit 15c1118

Browse files
authored
Merge pull request #12 from Swivl/MRW-4186-support-no-action
MRW-4186 DoctrineEntitySniff: support NO ACTION referential action
2 parents b117601 + 3a367e4 commit 15c1118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Swivl/Sniffs/Commenting/DoctrineEntitySniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class DoctrineEntitySniff extends AbstractVariableSniff
8383
'referencedColumnName' => 'string',
8484
'unique' => 'boolean',
8585
'nullable' => 'boolean',
86-
'onDelete' => ['RESTRICT', 'CASCADE', 'SET NULL'],
86+
'onDelete' => ['RESTRICT', 'CASCADE', 'SET NULL', 'NO ACTION'],
8787
'columnDefinition' => 'string',
8888
],
8989
],

0 commit comments

Comments
 (0)