Skip to content

fix: add missing property $context in PhpStreamWrapper #6735

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

Merged
merged 1 commit into from
Oct 22, 2022

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Oct 22, 2022

Description

In PHP 8.2, the following error ocurrs:

ErrorException: Creation of dynamic property CodeIgniter\Test\PhpStreamWrapper::$context is deprecated

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

See https://www.php.net/manual/en/class.streamwrapper.php#streamwrapper.props

In PHP 8.2, the following error ocurrs:
ErrorException: Creation of dynamic property CodeIgniter\Test\PhpStreamWrapper::$context is deprecated
@kenjis kenjis mentioned this pull request Oct 22, 2022
7 tasks
@paulbalandan paulbalandan merged commit 603239c into codeigniter4:4.3 Oct 22, 2022
@kenjis kenjis deleted the fix-PhpStreamWrapper-context branch October 23, 2022 01:36
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.

4 participants