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

Consider missing indices in PropertyGenerator #77

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

rieschl
Copy link
Contributor

@rieschl rieschl commented Apr 23, 2021

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

Fix missing array index E_NOTICE error in PropertyGenerator.

fixes #76

Edit: The test explicitly checks, that typed properties will be ignored when generating the code. Maybe that feature should be implemented in a future release, and that will cause this test to fail.

@Ocramius Ocramius added the Bug Something isn't working label Apr 23, 2021
@Ocramius Ocramius self-assigned this Apr 23, 2021
@Ocramius Ocramius modified the milestones: 3.4.2, 4.2.1 Apr 23, 2021
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Thanks @rieschl!

Signed-off-by: Thomas Rieschl <thomas@trinet.at>
@rieschl rieschl force-pushed the fix/notice-typed-property branch from fa9d202 to 0872dbd Compare April 23, 2021 11:38
@rieschl
Copy link
Contributor Author

rieschl commented Apr 23, 2021

This bug is also in the 3.x branch (checked with 3.4.1). Do I have to submit a patch for this version, too?

@rieschl rieschl requested a review from Ocramius April 23, 2021 11:42
@Ocramius
Copy link
Member

This bug is also in the 3.x branch (checked with 3.4.1). Do I have to submit a patch for this version, too?

IMO no need, unless it it a security issue (not the case - codegen is not supposed to be built upon user input)

@Ocramius Ocramius merged commit dbfccfb into laminas:4.2.x Apr 23, 2021
@Ocramius
Copy link
Member

Thanks @rieschl!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants