Skip to content

4.2.3

@anyt anyt tagged this 07 Jun 20:36
* BAP-20504: Enable PHP 8 Support (#29385)

- Upgraded php-amqplib/php-amqplib to 3.0.0
- Replaced array_merge(... with array_merge(...array_values( to not have issues with the named parameters
- Fixed usages of get_parent_class method, that now fails with fatal if the class doesn't exist
- Fixed reflection deprecations
- Fixed bug of AMQP consuming `$this->channel->wait(null, false, $timeout)`
- Fixed named property call in datagrid CallbackProperty.php
- Fixed invalid placeholders in sprintf
- Fixed call_user_func_array call with named parameters when an array is associative
- Fixed round call with string to cast to float
- Fixed implode inverse arguments order, as it's not supported anymore
- Fixed not to call array_walk on string
- Fixed fetchMultiple method for the Predis cache provider
- Fixed IntegerType to have a custom schema_update_required check that compares integer values
- Fixed grid extensions ordering
- Fixed priority of the OroSuiteGenerator to make "skipped features" functionality workable with PHP 8
- Fixed usort to not return boolean
- Simplified usort to use <=> instead of $a > $b : 1:-1;
- Converted ErrorException on stream_socket_client to BadResponseException in WampClient
- Removed whitespaces from namespaces as they are not allowed in PHP 8
- Ignoring E_DEPRECATED
- Enabled PHP 8 for some Jenkins builds
- fixed layout detection in a login form
- fixed ordering in action buttons to preserve the sort in php 7 and 8.

Co-authored-by: Mykhailo Sulyma <msulima@oroinc.com>
Co-authored-by: Yefim Yevtushenko <yyevtushenko@oroinc.com>
Co-authored-by: Hryhorii Hrebiniuk <hhrebiniuk@oroinc.com>
Assets 2
Loading