- last update
about 2 years ago 26 pass - Status changed to Closed: duplicate
2 months ago 10:13pm 17 June 2025
There are deprecations triggered on PHP 8.1
1x: Return type of
Drupal\file_encrypt\StreamFilter\StreamFilterBase::onCreate() should either
be compatible with php_user_filter::onCreate(): bool, or the
#[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice
1x: Return type of
Drupal\file_encrypt\StreamFilter\EncryptStreamFilter::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
1x: Return type of
Drupal\file_encrypt\StreamFilter\DecryptStreamFilter::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
Use the module on the latest version of PHP 8.1
Add annotations to suppress deprecation notices for now.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.