Peter Kokot
d679f02295
Sync leading and final newlines in *.phpt sections
...
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:33:09 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Nikita Popov
aa925cb0ad
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:50:18 +02:00
Andreas Treichel
c2b8066efb
Bug #74975 : Different serialization for classes
2017-08-02 18:49:26 +02:00
Pedro Magalhães
9c5af4e4cb
Remove the b prefix from literals on unrelated tests
2016-11-20 21:11:53 +01:00
Xinchen Hui
6929121423
Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array elements)
2016-07-22 23:15:15 +08:00
Xinchen Hui
516837344e
Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array elements)
2016-07-22 23:13:42 +08:00
Anatol Belski
1d4d8c7436
fix test portability
2016-05-31 18:42:40 +02:00
Xinchen Hui
d1dd9b4558
Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)
2016-05-31 11:44:20 +08:00
Dmitry Stogov
4ce8a15eae
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed test on 32-bit platforms (split into 32-bit and 64-bit versions)
2016-04-26 13:44:52 +03:00
Dmitry Stogov
9f389cccfd
Fixed test on 32-bit platforms (split into 32-bit and 64-bit versions)
2016-04-26 13:43:18 +03:00
Hieu Le
ace71b4c5f
Fix bug #71501
2016-02-04 11:44:56 +01:00
Julien Pauli
ef4449a8e8
Fixed #70728
...
Conflicts:
ext/xmlrpc/xmlrpc-epi-php.c
2016-01-04 17:31:34 +01:00
Julien Pauli
4df84a648e
Fixed #70728
2015-12-22 17:12:49 +01:00
Xinchen Hui
de6ee4c24f
Fixed bug #70526 (xmlrpc_set_type returns false on success)
2015-09-19 06:10:48 -07:00
Stanislav Malyshev
2b261789a6
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:49:01 -07:00
Stanislav Malyshev
44035de79f
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:43:12 -07:00
root
e22c139fe0
Test extension xmlrpc encode type double and string decode type string and int
2013-08-24 21:44:50 -07:00
root
a4de9c0397
Test extension xmlrpc encode type double and string decode type string and int
2013-08-23 01:06:58 +00:00
root
ac2d2b9b72
Create test to the extension xmlrpc
2013-08-18 13:59:39 -07:00
root
acda3dab6c
Create test to the extension xmlrpc
2013-08-18 18:44:52 +00:00
Xinchen Hui
7130887719
Fix test, from PR 158
2012-08-11 00:22:52 +08:00
Nikita Popov
3e7792aed7
Fix bug #61264 : xmlrpc_parse_method_descriptions leaks temporary variable
2012-03-03 12:46:17 +00:00
Nikita Popov
bfcc199f28
Fix bug #61097 Memory leak in xmlrpc functions copying zvals
...
Needs to be merged to 5.4.
2012-02-18 14:58:19 +00:00
Pierre Joye
7e9bc5f70b
- add skipif
2011-09-05 19:59:42 +00:00
Kalle Sommer Nielsen
5a6288297d
Revert fix for bug #53493 to be compliant with the XML specification
2010-12-13 14:29:42 +00:00
Kalle Sommer Nielsen
a990ce69b1
Fixed bug #53493 (xmlrpc_decode should not be sensitive to leading whitespace)
2010-12-13 09:52:05 +00:00
Raphael Geissert
d8da372fd0
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
...
requests (bug #51288 )
2010-03-13 18:40:29 +00:00
Jani Taskinen
f38bfa620e
- Added missing SKIPIF section to tests (bug #51014 )
2010-02-12 16:53:44 +00:00
Ilia Alshanetsky
ebe5ff73f8
Fixed bug #50761 (system.multiCall crashes in xmlrpc extension).
2010-01-17 17:19:38 +00:00
Felipe Pena
74d4059fb1
- Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays)
2009-11-25 02:03:02 +00:00
Felipe Pena
2e35533fc6
- Fixed bug #50282 (xmlrpc_encode_request() changes object into array in calling function)
2009-11-24 11:32:31 +00:00
Stanislav Malyshev
a515259047
cleanup parameter parsing
2009-08-18 00:41:43 +00:00
Rasmus Lerdorf
50957fe3a5
Fix test
2009-08-06 13:08:13 +00:00
Felipe Pena
50038a78f5
- New test
2009-05-22 12:38:57 +00:00
Felipe Pena
c23f8f1134
- MFH: Fixed bug #47818 (Segfault due to bound callback param)
2009-04-02 15:52:57 +00:00
Felipe Pena
90e87528b4
- Fixed tests
2008-12-27 19:16:49 +00:00
Felipe Pena
c818d0d013
MFH:
...
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
Fixed bugs:
#45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
#18916 (xmlrpc_set_type() "not working")
2008-09-10 00:07:45 +00:00
Felipe Pena
ff9ad113e9
- New tests
2008-07-18 19:24:49 +00:00
Antony Dovgal
1f1140a93a
MFH: fix #42736 (xmlrpc_server_call_method() crashes)
2007-11-12 11:23:04 +00:00
Ilia Alshanetsky
785b9d76f8
Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime
...
values).
2007-09-18 19:49:54 +00:00
Antony Dovgal
905491d6c9
wrong string len
2007-02-21 19:36:20 +00:00
Antony Dovgal
d162a8fb9e
add test for 64bit arch
2007-02-21 19:35:15 +00:00
Antony Dovgal
a2a682975c
fix test
2007-02-21 19:27:37 +00:00
Antony Dovgal
bccae9a134
MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding)
2007-02-21 14:25:27 +00:00
Antony Dovgal
cb9686b0e5
fix segfault and leak in ext/xmlrpc
...
add tests
2006-08-14 08:18:01 +00:00
Antony Dovgal
2eef59dc59
MFH: fix #38431 (xmlrpc_get_type() crashes PHP on objects)
2006-08-11 17:43:04 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Antony Dovgal
a6e4f11cb1
add test
2006-04-12 15:18:38 +00:00