You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zend_Validate_File_Extension needs a fix where a string variable is set to null in the class, throwing deprecation messages as on PHP 8.2 the null value is not automatically converted to an empty string anymore:
File: lib/Zend/Validate/File/Extension.php (135)
/**
* Sets the file extensions
*
* @param string|array $extension The extensions to validate
* @return Zend_Validate_File_Extension Provides a fluent interface
*/
public function setExtension($extension)
{
// FIX: Set _extension to empty string instead of null
$this->_extension = '';
$this->addExtension($extension);
return $this;
}
The text was updated successfully, but these errors were encountered:
Validator is screwed up a bit more than expected, by previous commits. Once setting string, then expecting array, then null. I'll revert recent updates and fix the problem itself, as described.
Zend_Validate_File_Extension needs a fix where a string variable is set to null in the class, throwing deprecation messages as on PHP 8.2 the null value is not automatically converted to an empty string anymore:
The text was updated successfully, but these errors were encountered: