Based on a patch from @ndossche
Also make test output not produce trailling whitespaces Closes GH-6662
Closes GH-5759
Cf. https://github.com/php/php-src/pull/3011.
PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
- Update README.PARAMETER_PARSING_API