Mario Blažek
d317cb97d3
Move expectException before the line where exception is thrown
2019-08-13 15:34:48 +02:00
Mario Blažek
37900f9268
Upgrade PHPUnit to v8
2019-08-12 15:20:00 +02:00
Jordi Boggiano
4a33226f25
Wrap up type-hint adding to all handlers
2018-11-19 23:28:33 +01:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
d7b415c2c8
Make TestCase class available to dependents to help with testing
2016-05-20 20:09:02 +01:00
Michael Moussa
09c4cca32b
Fix NewRelicHandler error when using LineFormatter
2016-05-20 19:31:17 +01:00
Pascal Borreli
a2c6c37c8d
Fixed typos
2015-03-05 01:11:15 +00:00
Florian Plattner
e6e2457c55
added support for newrelic_name_transaction() to NewRelicHandler
2014-12-18 00:16:03 +01:00
Jordi Boggiano
1e47b2788a
Merge pull request #430 from moderndeveloperllc/master
...
NewRelicHandler: Account for arrays sent in context and extra parameters
2014-10-04 12:53:35 +01:00
Mark Garrett
bc2d882967
Account for context and extra params that are sent as arrays (GitProcessor for one). New __construct param is optional and set to false to emulate current feature set.
2014-09-30 16:42:07 -05:00
Jordi Boggiano
feb19af2d4
Add support for PSR-3 levels to all public APIs accepting levels, fixes #421
2014-09-30 13:59:45 +01:00
Mark Garrett
e7647fd37d
Add prefixes to the context and extra record keys. Needed as some processors have the same keys as the the context. Specifically, the IntrospectionProcessor has "line" and "file" that can overwrite an error context "line" and "file".
2014-09-29 11:04:41 -05:00
Jordi Boggiano
25b16e8019
CS fixes
2014-06-04 18:30:04 +02:00
Ray Ward
bdf58af603
Log extra data as custom parameters in new relic.
2014-05-14 10:21:18 +10:00
odino
abaa54d8fe
removed useless test
2013-08-26 13:40:44 +04:00
odino
165778963e
the appname can now be set from the handler's constructor
2013-08-26 13:20:13 +04:00
odino
db3df1a1fa
NewRelic handler: added the app name
2013-08-26 12:04:22 +04:00
Jordi Boggiano
4277c5db4a
CS fixes
2013-07-29 00:08:51 +02:00
Jordi Boggiano
52f478b289
Fix tests
2013-07-28 23:19:20 +02:00
odino
b422bb1c5b
refactored the implementation of the NR handler and its test:
...
* the test now checks that if the extension is not loaded, an exception is thrown
* the test now mocks the new relic native functions
* moved some parameters as constants in the handler class
2013-07-24 10:14:35 +04:00
odino
394b0bf872
removed the logic for the fallback handler, its out of place, adapted the "test"
2013-07-24 09:46:20 +04:00
Alessandro Nadalin
b439707cbb
Added an handler for NewRelic:
...
* implemented a test which verifies that the fallback handler handles records when the NewRelic PHP extension is not installes
* implemented the actual handler
2013-07-24 09:46:20 +04:00