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

[#16567] - Fix for Form::bind deprecated warnings. #16575

Merged

Conversation

noone-silent
Copy link
Contributor

@noone-silent noone-silent commented May 1, 2024

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Small description of change:

Form:bind raises Deprecated: Creation of dynamic property Model::$attribute is deprecated warnings on PHP 8.2+. A new PHP-ini setting phalcon.form.strict_entity_property_check has been introduced to change the default behavior.

Documentation PR: phalcon/documentation#132

Thanks

…ng properties on entities when bind is executed.

refactor: added new ini setting phalcon.form.strict_entity_property_check with default value of 0
@niden niden merged commit e0dc3a7 into phalcon:5.0.x May 1, 2024
49 of 50 checks passed
@niden
Copy link
Member

niden commented May 1, 2024

Thank you @noone-silent

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