Accept Windows/DOS line breaks in phpdoc summary (#433)
Accept Windows/DOS line breaks in phpdoc summary (#433)

The phpdoc content is statically parsed (in Context.php). During parsing,
the comments are split into an array of lines. Previously, the code used
explode("\n", ...) in order to split at Unix (lf) line breaks. In order to
also be able to accept Windows/DOS line breaks (cr + lf), explode is
replaced by splitting with preg_split on either \n or \r\n.
zircote/swagger-php,DerManoMann/swagger-php