You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LINE 22: ERROR [x] Whitespace
found
at
end
of
line
(Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
----------------------------------------------------------------------
20: /**
21: ·*·LoremIpsum
>> 22: ·*·
23: ·*·LoremIpsum
@snmatsui Please consider updating the title of the issue to something more polite.
Other than that, PHPDocumentor requires a blank comment line between the summary and the description. As far as I know, they do not require that line to contain trailing whitespace and the page you linked to doesn't say so either.
snmatsui
changed the title
Stupid detection of Squiz.WhiteSpace.SuperfluousWhitespace.EndLine
trailing whitespace created by editor is detected Squiz.WhiteSpace.SuperfluousWhitespace.EndLine
Feb 14, 2025
@snmatsui That sounds to me like something which is configurable in whichever IDE you use as otherwise I would have expected lots more issues about it. I suggest having look at the settings of your IDE.
PHPDocumentor requires whiteline between summary and description.
(https://docs.phpdoc.org/guide/references/phpdoc/basic-syntax.html)
It looks natural that Line22 has trailing whitespace.
The text was updated successfully, but these errors were encountered: