Jordi Boggiano
7952a83e0c
Move phpdoc to native types
2022-04-20 09:21:58 +02:00
Jordi Boggiano
2695fa86cd
CI fixes
2022-04-19 22:16:53 +02:00
Jordi Boggiano
2d006a8472
Convert level/levelName to enums ( #1656 )
2022-04-19 21:49:03 +02:00
Jordi Boggiano
400effdd45
Fix some issues, bump phpunit version
2022-03-21 14:18:54 +01:00
Jordi Boggiano
9ce0431191
Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515
2020-12-10 16:22:24 +01:00
James Gilliland
56a8b31e4b
Assert SoapFail can handle a structured detail
2020-05-15 12:59:17 -05:00
Jordi Boggiano
f279285232
Fix tests, invalid UTF-8 is now returning �s instead of being converted to possibly valid ISO-8559-15
2020-05-11 22:18:36 +02:00
Jordi Boggiano
4e19f3c585
Merge branch '1.x'
2019-11-13 10:58:42 +01:00
Jordi Boggiano
f97cc755af
Fix 5.3/5.4 builds
2019-11-12 22:28:59 +01:00
Jordi Boggiano
05f6ed7205
Fix php 5.3 syntax
2019-11-12 22:10:50 +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
Jordi Boggiano
e1af546a55
Handle detail key of SoapFault being an object, fixes #1391
2019-11-12 20:49:34 +01:00
Jordi Boggiano
acf8e9e9a3
Merge branch '1.x'
2019-08-30 10:39:21 +02:00
Jordi Boggiano
2efcbcd181
Remove closure stack frames entirely from log
2019-08-30 10:24:17 +02:00
Jordi Boggiano
6688b45ebe
Normalize the way backtraces are normalized and remove args for special cases, fixes #1346
2019-08-16 13:09:47 +02:00
Jordi Boggiano
b78de556de
Merge pull request #1359 from MarioBlazek/feature_upgrade_phpunit_to_v8
...
Upgrade PHPUnit to v8
2019-08-15 21:32:19 +02:00
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
Thomas Perez
4e095f38f4
Fix error_handler return type declaration
2019-07-31 22:19:02 +02:00
Mponos George
daed05c3e5
Enable JSON encode pretty print ( #1236 )
2018-12-04 10:30:41 +01:00
Jordi Boggiano
873ac681a6
Merge branch '1.x'
2018-06-18 17:27:30 +02:00
Jordi Boggiano
3e92b08956
Avoid information leaks through call_user_func arguments, fixes #1138
2018-06-18 17:21:54 +02:00
Andrew Berry
0d993d84d1
Normalization of arrays containing self references ( #1050 )
...
Backport normalization fix from master to 1.x
2018-06-17 17:27:33 +02:00
Jordi Boggiano
800fe2cc1a
Migrate maxNormalizeDepth/maxNormalizeItemCount props and setters to NormalizerFormatter
2018-06-08 23:09:04 +02:00
Jordi Boggiano
518288c5c5
Merge branch '1.x'
2018-06-08 22:32:06 +02:00
Minh-Quan TRAN
ada5d30511
If context has exactly 1000 items, do not truncate
2018-06-08 22:18:08 +02:00
DQNEO
39f464bd58
make compatible to phpunit 6
2018-04-02 00:54:21 +09:00
Jordi Boggiano
ca4ffa68f6
Use namespaced phpunit classes, fixes #983
2017-06-19 00:48:54 +02:00
Chris Forrence
763c3afb32
Split expectException calls with two parameters into the proper two calls
2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72
Replace deprecated setExpectedException methods with expectException
2017-03-21 10:14:16 -04:00
Jordi Boggiano
0d01b2c8c7
Merge branch '1.x'
2016-10-03 20:31:55 +02:00
Jordi Boggiano
214b8ef34b
Add total amount of items when aborting traversable normalization
2016-10-03 20:31:30 +02:00
Jordi Boggiano
96f4fd718f
CS fixes
2016-09-25 17:46:38 +02:00
Jordi Boggiano
6b0d0c4a19
Merge branch '1.x'
2016-07-29 04:53:49 +02:00
Jordi Boggiano
ced9284123
Fix tests
2016-07-29 04:51:33 +02:00
Francis Besset
8b1f522206
Added informations to normalize a SoapFault
2016-07-20 15:18:11 +02:00
Jordi Boggiano
f4567f1a5f
Merge pull request #808 from naderman/fix/normalizer-recusion
...
Normalization of arrays containing self references
2016-07-02 15:34:40 +02:00
Nils Adermann
c582a6e791
Add a test for references normalization
...
This is an issue in particular when $GLOBALS gets stuck into $context
2016-06-22 14:28:38 +02:00
Jordi Boggiano
119807c80e
Fix tests
2016-05-27 13:56:49 +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
2ff7afda31
Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560
2016-05-26 19:21:47 +01:00
Jordi Boggiano
e27225dc40
Switch to DateTimeImmutable everywhere
2016-05-20 20:55:31 +01:00
Jeroen Thora
8ceda1b62e
Removed unnecessary php version checks after php dependency bump to 7.0
2015-12-20 15:53:48 +01:00
Jordi Boggiano
0178fd4f09
CS fixes, refs #683
2015-11-18 17:53:15 +00:00
Jordi Boggiano
9532e979b6
Merge remote-tracking branch 'bd808/feature/clean-json'
2015-11-18 17:50:41 +00:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Bryan Davis
6f9e221bd6
Attempt to recover from json encoding errors
...
Detect and attempt to recover from json_encode errors triggered by
strings containing invalid UTF-8 sequences. Recovery will only be
attempted when encoding strings or arrays. If recovery fails then
a RuntimeException will be thrown.
The recovery process will convert invalid UTF-8 codepoints as though the
input string was encoded using the ISO-8859-15 character encoding. This
conversion may result in incorrect string output if the original
encoding was not ISO-8859-15, but it will be a valid UTF-8 string.
Closes #545
2015-11-12 10:59:27 -07:00
Anton Sergeyev
f19d9ce9a1
#673 Fix fatal error while normalizing with __toString method which may throw an exception
2015-10-25 22:44:00 +06:00