[PHP 7.1] How to fix the «Function mcrypt_module_open() is deprecated» bug?

To fix this issue, you should disable the E_DEPRECATED error handling level for PHP.

How to disable the E_DEPRECATED error handling level for PHP?

See also:

The current Magento 2.2 development branch becomes to support PHP 7.1.