php-encrypted-streams
php-encrypted-streams copied to clipboard
Upgrade to PHP 8
I've upgraded code and dependencies to PHP 8.1+. I decided to not care about PHP 7 as it is unmaintained... So changes are not bc. Although interfaces hasn't changed that much, I only added types where they were missing.
After switch to PHP 8, deprecation errors occurred because of StreamDecoratorTrait dynamic property declaration and I don't see any good solution to fix them for now. So I added #[\AllowDynamicProperties] to ignore them. They are not breaking anything and if they will in the future, there are tests covering it.