zf1s / zf1

Monorepo of a fork of Zend Framework 1, with all components split into individual composer packages. PHP 5.3-8.3 compatible.
BSD 3-Clause "New" or "Revised" License
57 stars 22 forks source link

php8.3 compatibility #182

Closed falkenhawk closed 6 months ago

falkenhawk commented 6 months ago

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