I am still not comfortable with the error message "Nothing was expected to be returned" which is very confusing and I would change it to "was expected to throw or exit" or "was expected to never return". I went with "never" because it just reads better: "Function abc returns never" instead of "Function abc returns noreturn". If "never" wins then the other error message "A noreturn function must not return" must also be changed. Maybe "The function must never return"
- Re: [PHP-DEV] [VOTE] noreturn typ... Matthew Brown
- Re: [PHP-DEV] [VOTE] noreturn type Peter Stalman
- Re: [PHP-DEV] [VOTE] noreturn type Andreas Hennings
- Re: [PHP-DEV] [VOTE] noreturn type Ilija Tovilo
- Re: [PHP-DEV] [VOTE] noreturn typ... Andreas Hennings
- Re: [PHP-DEV] [VOTE] noreturn type Benjamin Eberlei
- Re: [PHP-DEV] [VOTE] noreturn type Sebastian Bergmann
- Re: [PHP-DEV] [VOTE] noreturn type Matthew Brown
- Re: [PHP-DEV] [VOTE] noreturn type Levi Morrison via internals
- Re: [PHP-DEV] [VOTE] noreturn typ... Aaron Piotrowski
- Re: [PHP-DEV] [VOTE] noreturn... Kamil Tekiela
- Re: [PHP-DEV] [VOTE] noreturn... Benjamin Eberlei
- Re: [PHP-DEV] [VOTE] nor... Rowan Tommins
- Re: [PHP-DEV] [VOTE] nor... Benjamin Eberlei
- Re: [PHP-DEV] [VOTE]... Andreas Leathley
- Re: [PHP-DEV] [VOTE]... Peter Bowyer
- Re: [PHP-DEV] [VOTE]... Andreas Leathley
- Re: [PHP-DEV] [VOTE]... Matthew Brown
- Re: [PHP-DEV] [VOTE]... David Rodrigues
- Re: [PHP-DEV] [VOTE]... Matthew Brown
- Re: [PHP-DEV] [VOTE] noreturn type Andreas Leathley