Skip to content

Commit af6293f

Browse files
committed
Add preserve_existing_declaration option to declare_strict_types
1 parent 21cddae commit af6293f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ruleset/Nexus81.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function __construct()
115115
'date_time_immutable' => true,
116116
'declare_equal_normalize' => ['space' => 'none'],
117117
'declare_parentheses' => true,
118-
'declare_strict_types' => true,
118+
'declare_strict_types' => ['preserve_existing_declaration' => false],
119119
'dir_constant' => true,
120120
'doctrine_annotation_array_assignment' => false,
121121
'doctrine_annotation_braces' => false,

0 commit comments

Comments
 (0)