Universal set of diagnostic tests for PHP applications.
AbstractResult::$message
property to default to an empty string instead of
null
. Since both ResultInterface
and AbstractResult
document that the
return type for getMessage()
is a string, and all reporters expect a string,
this ensures type safety for the method.#88 adds a new Memcached
diagnostic check.
#89 adds full documentation at https://docs.zendframework.com/zend-diagnostics
#89 adds support for Guzzle 6. While support was previously added, it included syntax that emitted deprecation notices; it now correctly uses the Guzzle HTTP client.
#90 modifies what types are allowed for the GuzzleHttpService
initial constructor
argument. Previously, it only allowed a URL; it now allow any valid request instance the Guzzle client
can accept. This change allows you to craft a custom request to send.
#90 modifies the behavior of GuzzleHttpService
slightly in relation to how
it handles its $body
argument. It now allows stream instances, any object implementing __toString()
,
any iterator objects, any JsonSerializable
objects, and strings and arrays. In the latter case, it
checks to see if the request Content-Type
is JSON, casting the value to JSON if so, and otherwise
serializing it as form-encoded data.
#92 fixes how the ProcessRunning
diagnostic works when given
a process name, but the current window is too small to display it (a problem
that only occurs on some operating systems).
#80 fixes how the MongoDB\Client
instance is created when using ext-mongodb + mongodb/mongodb,
ensuring it uses the provided connection URI.
This fixes compatibility with PHP 7.2 and deprecates support for EOL PHP < 5.6.
This release includes a bunch of smaller fixes and enhancements.
Click below for a full list: https://github.com/zendframework/ZendDiagnostics/compare/v1.0.8...v1.0.9
Guzzle support covers all version from 3.0 upwards, see https://github.com/zendframework/ZendDiagnostics/pull/63