Jordi Boggiano
5f2ee3292e
Merge remote-tracking branch 'neclimdul/SoapFaultObjectFailure'
2020-05-21 17:01:29 +02:00
James Gilliland
2066ce89d0
Fix SoapFault detail with nested object
...
Fixes #1431
2020-05-15 12:59:17 -05:00
Jordi Boggiano
633bcd5268
Also fix SoapFault handling in LineFormatter, refs #1391
2019-12-07 16:37:53 +01:00
Jordi Boggiano
0b9ee7e636
Merge branch '1.x'
2019-11-12 21:50:28 +01:00
Jordi Boggiano
12a76ad61e
Fix usages of json_encode which did not handle invalid UTF8 gracefully, fixes #1392
2019-11-12 21:24:23 +01:00
andyexeter
546708f23a
Add SoapFault details to formatted exception
2018-12-15 13:55:51 +00:00
George Mponos
790ff7fd1d
Docblock fixes
2018-12-09 22:31:46 +02:00
George Mponos
c68b71edeb
Add visibility to constants
2018-11-17 20:38:51 +02:00
Jordi Boggiano
073c5d763a
Merge branch '1.x'
2018-11-04 18:40:32 +01:00
Jordi Boggiano
42d84e6a8d
Move getClass method to a Utils class, refs #1190
2018-11-04 18:23:20 +01:00
Nicolas Grekas
9117a6c747
Fix displaying anonymous classes
2018-09-24 20:18:56 +02:00
Jordi Boggiano
06143b03e5
Add a bunch of return types and fix type inconsistencies reports from phan
2018-07-04 14:14:08 +02:00
Matthias Pigulla
c04f66ed54
Include stacktraces for "previous" excpetions in LineFormatter
2018-06-18 17:41:09 +02:00
Jordi Boggiano
7405bb5d67
CS fixes
2017-03-20 10:56:47 +01:00
Jordi Boggiano
f3dda67c09
Merge branch '1.x'
2017-03-13 08:08:24 +01:00
Jordi Boggiano
1584a90c48
Fix 5.3 support
2017-03-13 08:02:29 +01:00
Jordi Boggiano
821cc3e4a5
Backport fix for #752 , fixes #925
2017-03-12 18:17:37 +01:00
Jordi Boggiano
1dc4cf31e8
Merge branch '1.x'
2016-11-13 20:26:27 +01:00
Jordi Boggiano
cc8a013611
Optimize removal of leftover extra/context placeholders, refs #866
2016-11-13 20:17:30 +01:00
Jordi Boggiano
9da099717b
Cast toJson to string in case it returns false, fixes #878
2016-11-13 19:36:50 +01:00
Pavel Golovin
c3c0abf2a4
Update LineFormatter.php
2016-10-10 19:01:08 +03:00
Pavel Golovin
ccb4aeba21
Remove substitution for not defined variables
...
If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders
2016-10-10 18:57:57 +03:00
Jordi Boggiano
6e6586257d
Add scalar types to processor/formatters and top level classes
2016-09-25 21:23:35 +02:00
Jordi Boggiano
bb61bfbe3b
When newlines are allowed in LineFormatter, unpack json_encoded blobs containing newlines into multiline strings, fixes #752
2016-09-25 18:22:52 +02: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
6f26801be6
More type hints
2016-05-26 18:04:57 +01:00
Jordi Boggiano
ba995ffd1e
Merge branch '1.x'
2016-03-01 17:15:43 +00:00
Jordi Boggiano
25131bb5f6
Add context.* replacement in line formatter, fixes #717
2016-03-01 16:58:06 +00:00
Jordi Boggiano
481fc4cfa1
PHP7 compat for exception classes, fixes #718
2016-03-01 16:20:06 +00:00
Jeroen Thora
8ceda1b62e
Removed unnecessary php version checks after php dependency bump to 7.0
2015-12-20 15:53:48 +01:00
Vitaliy Zhuk
1a14403060
Optimize replace new lines
2015-04-15 11:15:37 +03:00
Jordi Boggiano
3e1b8a7afe
Remove code duplication, refs #435
2014-12-28 16:28:20 +00:00
Jordi Boggiano
1cb39eedb5
Allow including stack traces in line formatter, fixes #466
2014-12-13 13:54:24 +00:00
Sergey Chizhik
21c54ac660
fix
2014-12-05 14:36:37 +02:00
Sergey Chizhik
7902b8c396
Add exception code
2014-12-04 18:42:38 +02:00
Jordi Boggiano
43ca6dc06b
Remove preg_replace to hopefully fix segfault on long inputs, fixes #376
2014-09-30 12:33:35 +01:00
Dawid Nowak
efe572cb10
LineFormatter: context and extra optionally not shown when empty
2014-07-03 15:03:28 +02:00
Jordi Boggiano
4c74b127eb
Tweak code to allow newlines in format, refs #322
2014-02-18 15:12:15 +01:00
Gunnar Lium
2aa09265fc
Strip inline line breaks from LineFormatter entries.
2014-02-14 14:35:44 +01:00
Sergey Rabochiy
4d3723c68d
Code style fix
2013-11-29 21:05:44 +07:00
Sergey Rabochiy
e012bf1b63
Fix boolean to string convertation. Fix double normalization.
...
Details bug:
$context = ["false", false]; // formatted as {"0":"false","1":"false"} when need {"0":"false","1":false}
2013-11-29 16:09:42 +07:00
Jordi Boggiano
7f99ac07d3
Only serialize things if needed
2013-10-31 22:38:39 +01:00
Jordi Boggiano
da4bf80702
Ignore errors on 5.3 as well
2013-10-31 22:38:24 +01:00
wiistriker
bbb0a5948f
Update LineFormatter.php
2013-10-23 20:14:57 +11:00
wiistriker
a8bbda7310
Ignore json_encode errors
2013-10-23 19:50:05 +11:00
Jordi Boggiano
642cdf620b
Add support for previous exceptions in LineFormatter
2013-04-07 13:22:41 +02:00
Jordi Boggiano
eaf2b07120
Serialize exceptions in a minimalistic way in the LineFormatter
2013-03-17 19:26:08 +01:00
Jordi Boggiano
63e3bfdf7e
Resolve json encoding errors issue globally, refs #137
2013-01-06 20:14:14 +01:00
Jordi Boggiano
a929570bb7
Fix json encoding, fixes #110
2012-09-05 21:32:46 +02:00