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

Fix Zend_Form_ElementTest #81

Merged
merged 1 commit into from
Mar 15, 2021
Merged

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Mar 15, 2021

@Megatherium on 3 Dec 2020:

The behaviour hasn't really changed because the intent of the test is to
use an array of arrays in setOptions. What has changed is that PHP 8.0
supports calling functions with named parameters and will throw a Fatal
if you try to access a parameter by name that does not exist.
Digits::__construct has no param named bar ergo we get a Fatal.

See discussion here:

Extracted out of #77 which was @Megatherium changes from #32

The behaviour hasn't really changed because the intent of the test is to
use an array of arrays in setOptions. What has changed is that PHP 8.0
supports calling functions with named parameters and will throw a Fatal
if you try to access a parameter by name that does not exist.
Digits::__construct has no param named bar ergo we get a Fatal.

Signed-off-by: Alexander Wozniak <wozniak@oktopos.com>
Signed-off-by: Elan Ruusamäe <glen@pld-linux.org>
@glensc glensc force-pushed the Digits__construct branch from 985e0b9 to 832337f Compare March 15, 2021 14:40
Copy link
Member

@falkenhawk falkenhawk left a comment

Choose a reason for hiding this comment

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

Thank you for extracting this change into a separate PR.

@falkenhawk falkenhawk merged commit 9150d8a into zf1s:master Mar 15, 2021
@glensc glensc deleted the Digits__construct branch March 15, 2021 14:57
@glensc
Copy link
Contributor Author

glensc commented Mar 15, 2021

Thank you for extracting this change into a separate PR.

#77 was left as a catch-all for the remaining of @Megatherium changes.

@glensc glensc mentioned this pull request Mar 16, 2021
32 tasks
@glensc glensc mentioned this pull request Aug 7, 2021
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