1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02:00
Files
php-monolog/tests/Monolog/Handler
Shawn Iwinski 2dd4a0fa3d Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
From composer.json: `"sentry/sentry": "^0.13"`
Latest 0.x `sentry/sentry`: 0.22.0

sentry/sentry 0.16.0 changed the function signature of Raven_Client::capture():
0.16.0: `public function capture($data, $stack = null, $vars = null)`
0.15.0: `public function capture($data, $stack, $vars = null)`

While the test suite silently passes with PHP < 7.1, running the test suite with
PHP 7.1 fails with the following error:
`Declaration of Monolog\Handler\MockRavenClient::capture($data, $stack, $vars = NULL)
should be compatible with Raven_Client::capture($data, $stack = NULL, $vars = NULL)`
2016-11-06 11:11:41 -05:00
..
2016-09-25 17:46:38 +02:00
2016-07-02 15:12:25 +01:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00
2016-09-25 17:46:38 +02:00