php-encrypted-streams icon indicating copy to clipboard operation
php-encrypted-streams copied to clipboard

Upgrade to PHP 8

Open wnnawalaniec opened this issue 6 months ago • 0 comments

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.

wnnawalaniec avatar Aug 14 '24 01:08 wnnawalaniec