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

php8.3 compatibility #182

Merged
merged 4 commits into from
Jan 4, 2024
Merged

php8.3 compatibility #182

merged 4 commits into from
Jan 4, 2024

Conversation

falkenhawk
Copy link
Member

@falkenhawk falkenhawk commented Jan 4, 2024

1. adjusted zend_form test to fix:

1) Zend_Form_FormTest::testFormsShouldAllowResetting
array_sum(): Addition is not supported on type array

2. address differences in Zend_Markup rendering

Zend_Markup_Renderer_Html_Code uses highlight_string function internally
and output of that function has changed in PHP 8.3
https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes

3. Zend_OpenId - get_class() calls without arguments are deprecated

https://php.watch/versions/8.3/get_class-get_parent_class-parameterless-deprecated

@falkenhawk falkenhawk marked this pull request as ready for review January 4, 2024 12:22
@falkenhawk falkenhawk requested review from marcing and partikus January 4, 2024 12:22
@falkenhawk falkenhawk changed the title php8.3 compatibility php8.3 compatibility (tests only) Jan 4, 2024
@falkenhawk falkenhawk changed the title php8.3 compatibility (tests only) php8.3 compatibility Jan 4, 2024
@falkenhawk falkenhawk deleted the branch master January 4, 2024 12:36
@falkenhawk falkenhawk closed this Jan 4, 2024
@falkenhawk falkenhawk reopened this Jan 4, 2024
@falkenhawk falkenhawk changed the base branch from php82-compat to php82 January 4, 2024 12:37
@falkenhawk falkenhawk changed the base branch from php82 to master January 4, 2024 12:38
to fix:
1) Zend_Form_FormTest::testFormsShouldAllowResetting
array_sum(): Addition is not supported on type array
Zend_Markup_Renderer_Html_Code uses `highlight_string` function internally
and output of that function has changed in PHP 8.3

https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes
@falkenhawk falkenhawk merged commit 2c59840 into master Jan 4, 2024
13 checks passed
@falkenhawk falkenhawk deleted the php83 branch January 4, 2024 12:51
@falkenhawk falkenhawk mentioned this pull request Jan 4, 2024
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.

1 participant