While upgrading Magento 2 I’m getting the following error:
Deprecated: Return type of phpseclib_mcrypt_filter::filter($in, $out,
&$consumed, $closing) should either be compatible with
php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or
the #[ReturnTypeWillChange] attribute should be used to temporarily
suppress the notice in
/home/sampledata/public_html/dev/vendor/phpseclib/mcrypt_compat/lib/mcrypt.php
on line 1107