Skip to content

Commit 3a367e4

Browse files
committed
MRW-4186 DoctrineEntitySniff: support NO ACTION referential action
1 parent b117601 commit 3a367e4

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)