Commit 26da214
committed
Generic/OpeningFunctionBraceKernighanRitchie: fix error position
The `SpaceBeforeBrace` error code is about the space before the scope opener, but was being thrown on the parenthesis closer preceding it, which could be confusing when there is a type declaration between the two.
Fixed now.
I haven't added a test as no meaningful test can be added as the error "column" is not part of the test logic.1 parent b0cb9c5 commit 26da214
File tree
1 file changed
+1
-1
lines changed- src/Standards/Generic/Sniffs/Functions
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments