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
The stripped closing tag seems right. Semicolon is missing now though
gsherwood
changed the title
Syntax error when stripping trailing PHP close tag
Syntax error when stripping trailing PHP close tag and previous statement has no semicolon
Nov 23, 2015
When running CBF with the PSR-2 standard against the sample file below, the trailing PHP close tag is omitted from output, causing a syntax error.
Sample File
Output
The text was updated successfully, but these errors were encountered: