Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced array_walk with array_map in Connection::getURI (#1075)
* Replaced array_walk with array_map In Connection::getURI, array_walk was used together with passing the values as references, to change the original array. Passing values as references is error-prone and discouraged for quite some time. Also, when using in conjunction with PHP 8.0, it will fail. array_map can do the same thing as the original array_walk implementation, but without the downsides of having side effects and having to pass values as references. * Add the x-elastic-client-meta header (#1089) * Added the x-elastic-client-meta header * Removed @ExpectedException usage in PHPUnit * Removed prestissimo plugin for composer in github action * Added .phpunit.result.cache in .gitignore * Add the t transport parameter in telemetry client header * Fixed semver format for PHP version in client telemetry header Co-authored-by: Enrico Zimuel <e.zimuel@gmail.com>
- Loading branch information