Merge pull request #4862 from rxu/ticket/14972-new
[ticket/14972] PHP 7.2 compatibility
* github.com:phpbb/phpbb:
[ticket/14972] Temporarily pull PHP nightly build out of allowed tests failures
[ticket/14972] replace all occurrences of sizeof() with the count()
[ticket/14972] Fix find_key_index method
[ticket/14972] Update tests matrix to reflect bumping PHP version requirement
[ticket/14972] Fix test_collection_with_mask test
[ticket/14972] Avoid using self as constant in tests
[ticket/14972] Fix create_insert_array() declaration in admin_activate_user
[ticket/14972] Fix use of deprecated media attachment constants
[ticket/14972] Migrate from deprecated getMock() method to createMock()
[ticket/14972] Fix sizeof calls
[ticket/14972] Bump PHP requirements to 5.6. Update dependencies.
[ticket/14972] Fix test_collection_with_mask test
In PHP 7.2, the severity of the message “Use of undefined constant” was raised
from E_NOTICE to E_WARNING, so calling $array[ITEM] causes warning caught by
error collector. Use undefined offset notice to get an empty message as such.