[ticket/security-169] Stop loop through referer dir in top directory

SECURITY-169
[ticket/security-171] Use type cast helper for json data

SECURITY-171
[ticket/security-171] Sanitize data from composer.json

SECURITY-171
[ticket/security-171] Add tests for retrieved remote data in version_helper

SECURITY-171
Merge branch 'ticket/13358' into ticket/security-171
Merge branch 'ticket/13358' into ticket/security-171
Merge pull request #8 from phpbb/ticket/security-169

[ticket/security-169] Stop loop through referer dir in top directory
Merge pull request #10 from phpbb/ticket/security-171

[ticket/security-171] Use type cast helper for json data
[prep-release-3.1.2] Add migration for 3.1.2-RC1
[prep-release-3.1.2] Add migration to update version to 3.1.2
[ticket/13381] Fix header intendation of v312.php

PHPBB3-13381