Skip to content

Commit 1394cec

Browse files
authored
style: Fix comma position after heredoc call argument (#383)
The previous version (with the comma on the following line) dates back to PHP < 7.3.0 when the heredoc terminator had to be the only thing on the line. php-cs-fixer 3.86.0 updates the symfony ruleset to require that the comma be on the same line as the heredoc terminator (which we already do in most places), meaning this line is now reported as a violation.
1 parent 7d341ec commit 1394cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Keywords/KeywordsDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ public function testExtendedVersionDumper(): void
220220
Примеры:
221221
| agent1 | agent2 |
222222
| D | M |
223-
GHERKIN
224-
, <<<'GHERKIN'
223+
GHERKIN,
224+
<<<'GHERKIN'
225225
# language: ru
226226
Фича: Internal operations
227227
In order to stay secret

0 commit comments

Comments
 (0)