PSR-12 says "The closing ?> tag MUST be omitted from files containing only PHP".
The corresponding in typemap already does. Fixes #1655, reported by CJSlominski.