[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] Update version to 3.1.2-RC1
[prep-release-3.1.2] Add migration for 3.1.2-RC1
[prep-release-3.1.2] Prepare Changelog
[prep-release-3.1.2] Add changelog for 3.1.2-RC1
[prep-release-3.1.2] Increase version number to 3.1.2
[prep-release-3.1.2] Add migration to update version to 3.1.2
[prep-release-3.1.2] Update Changelog with 13376
[ticket/13376] Revert unnecessary change for cookies called GLOBALS 92f554e3

Also introduce a clear cookie message hardcoded just in case.

PHPBB3-13376
Merge branch 'develop-olympus' into prep-release-3.1.2
[prep-release-3.1.2] Update the development version to 3.1.3-RC1-dev
[ticket/13381] Fix header intendation of v312.php

PHPBB3-13381