The constructor signature of SentryClient
has changed.
If you had code like the following:
$client = new SentryClient("https://[email protected]/1234567");
You will need to upgrade to the new constructor signature as follows:
$client = new SentryClient(
new DirectEventCapture(
new DSN("https://[email protected]/1234567")
)
);
The second constructor argument to the SentryClient
constructor ($extensions
) is
the same as before.
If you were using the public SentryClient::$proxy
setting previously available, you
can now provide this as a second argument to the DirectEventCapture
constructor.
Note the introduction of the DSN
model, which may come in handy if you wish to build
a custom EventCapture
implementation for some reason.