@stof I deleted my last comment because I didn't think I was right. I changed my mind again ;-)


After ``<<<EOT`` (`T_END_HEREDOC` token), one new line character (`T_WHITESPACE`, `"\n"`) is required by PHP. If you add indentation, it's extra spaces.

And that it's not ok with PSR-2 rule `closing parentheses for control structures MUST NOT have a space before`.

This is OK (closing parenthesis immediately after php-required new line character):

```
    ->setHelp(<<<EOT
        some text
EOT
);
```

This is not ok (extra indentation whitespace on the last line):

```
    ->setHelp(<<<EOT
        some text
EOT
    );
```

I did some digging into `phpcs` source code and I can fix it, so that the "ok" version would not be signaled as error, but I'd like you to confirm that my thinking is right ;)