Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in the public $context property to the stream wrapper. #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adam-vessey
Copy link

I believe this should fix #27

Got here via drupal/flysystem.

It looks like the property should have been there for a long time (as in, added in PHP 5 days, according to the wayback machine), and is only being exposed now with the bump to PHP 8.2 being more strict with dynamic properties?

@Unifex
Copy link

Unifex commented Nov 7, 2023

I also landed here the same way @adam-vessey did. I'm now adding this package directly via composer and using cwegans/composer-patches to apply this patch. The "Deprecated function: Creation of dynamic property..." messages flooding my logs are gone. This gets a +1 from me.

@KaseyMK
Copy link

KaseyMK commented Feb 21, 2024

Thanks for this! Also came here via Drupal's flysystem module and installing twistor/flysystem-stream-wrapper with a patch from this PR seems to solve my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible with PHP 8.2
3 participants