-
Notifications
You must be signed in to change notification settings - Fork 45
Support php 8.4/8.5 #489
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
base: main
Are you sure you want to change the base?
Support php 8.4/8.5 #489
Conversation
sukhwinder33445
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, @Jan-Schuppik, please test the UI and approve this PR if everything works fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github Actions are failing due to Code Sniffer. Please take a look at this.
Update: Code sniffer errors are fixed in #487.
5eb10b8
3be25ae to
203cad9
Compare
…-8.4 compatibility
…efault value is deprecated in PHP8.4
…ince it will use the the values as array keys
Explictly set the required attribute of the uploaded_file element of BpUploadForm to true. previously the resulting-html element was not required and submitting the form caused null being passed. This is necessary because this class does not extend the Web\Form, and the Zend_Form does not mark the elment as required.
203cad9 to
ccebf08
Compare
Changes that had to be addressed
PHP 8.3 -> Php 8.4
Migration docs: https://www.php.net/manual/en/migration84
$escapeof fputcsv()must be set explicitlyresolves: #488