Ticket #150 (closed defect: fixed)
Carriage return not detected correctly when parsing annotations
| Reported by: | prema | Owned by: | mikey |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9.0 |
| Component: | ReflectionApi | Version: | SVN-trunk |
| Keywords: | Cc: |
Description (last modified by mikey) (diff)
When source files are stored with carriage return (though this is discouraged) the following situation is not detected correctly by the annotation parser:
/**
* a description
*
* @param string $id a param
* @return string
* @Id
*/
public function setId($id) {...}
Here, the id annotation is not correctly recognized in case the d is followed by a carriage return instead of a unix line break.
Change History
Note: See
TracTickets for help on using
tickets.
