Skip to content

[PHP8] Declare sfDoctrineFormGenerator $params property #306

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 2 commits into from
Jan 14, 2024
Merged

[PHP8] Declare sfDoctrineFormGenerator $params property #306

merged 2 commits into from
Jan 14, 2024

Conversation

iricketson
Copy link
Contributor

The sfDoctrineFormGenerator class stores a $params property that is not declared in the class, leading to a deprecation notice:

PHP Deprecated: Creation of dynamic property sfDoctrineFormGenerator::$params is deprecated in /path/to/friendsofsymfony1/symfony1/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php on line 61

This PR simply declares the class property to satisfy the deprecation notice.

@connorhu connorhu merged commit abdbd74 into FriendsOfSymfony1:master Jan 14, 2024
@thePanz
Copy link
Member

thePanz commented Jan 18, 2024

Thanks @connorhu for merging
Please let check to not have commits like "Merge branch 'master' into fix/sfDoctrineFormGenerator", in the history: this should be replaced by rebasing the branch on "master"

@connorhu
Copy link
Collaborator

I see, sorry. I will do that from now.

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.

5 participants