Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Jun 29, 2022

Description
See #6162 (comment)

  • do not create dynamic property in BaseConnection

The current database tests group is for SQLite3 that has foreignKeys property.

'foreignKeys' => true,

If a user overrides DBDriver, the dynamic property foreignKeys will be created.

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

@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Jun 29, 2022
@kenjis kenjis mentioned this pull request Jun 29, 2022
7 tasks
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like there would be more properties that needed declaring but the tests look good so I guess not.

@kenjis kenjis merged commit 397c606 into codeigniter4:develop Jul 1, 2022
@kenjis kenjis deleted the fix-dynamic-property-in-BaseConnection branch July 1, 2022 07:50
@kenjis kenjis added the PHP 8.2 label Oct 12, 2022
@kenjis kenjis removed the bug Verified issues on the current code behavior or pull requests that will fix them label Oct 22, 2022
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.

2 participants