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
Gabriel Caruso
fef879a2d6
Use bool instead of boolean while throwing a type error
...
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".
This a followup to ce1d69a1f6 , which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Gabriel Caruso
84488d921b
Remove superfluous SKIPIF sections in more tests
2018-02-04 16:57:08 +01:00
Stanislav Malyshev
3616b6b935
Cleanup some tests - remove unnecessary sections
...
Also unify credits - all are under --CREDITS-- now.
2018-02-04 02:21:40 -08:00
Gabriel Caruso
c6c9e71a5b
Add missing SKIPIF sections
2018-02-03 13:54:34 +01:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Dmitry Stogov
0f06df310c
Turn "php_stream_wrapper"s into constants
...
Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility.
2017-12-14 22:46:22 +03:00
Dmitry Stogov
83e495e0fd
Move constants into read-only data segment
2017-12-14 22:14:36 +03:00
Sara Golemon
8f804a2128
Add support for zlib/level context option
2017-10-23 22:14:52 -04:00
Christoph M. Becker
a332eaf7f6
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:40:12 +02:00
Christoph M. Becker
1f150fcde1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:30:45 +02:00
Christoph M. Becker
d3d23e0cb8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:29:36 +02:00
Fabien Villepinte
9d9873b3b5
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-01 11:27:16 +02:00
Florian Engelhardt
8158a95b53
reworked test
2017-09-14 12:41:02 +02:00
Florian Engelhardt
5e55ce30df
added credits for #phptestfest
2017-09-14 09:21:00 +02:00
Florian Engelhardt
feb16a492b
reworked the tests, created test cases for defalte, gzip and unsupported brotli
2017-09-14 09:17:45 +02:00
Florian Engelhardt
9e8eca1d3d
added basic zlib_get_coding_type() test
2017-09-13 15:18:21 +02:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Anatol Belski
07c7445dd0
fix datatype
2017-07-10 17:34:58 +02:00
Anatol Belski
7360e6a36f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Add more constants, improve comments, and add tests"
2017-07-10 17:01:25 +02:00
Anatol Belski
a797421e98
Revert "Add more constants, improve comments, and add tests"
...
This reverts commit 0c4f11ecaa .
2017-07-10 16:53:56 +02:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00
Bob Weinand
a1755671e2
Merge branch 'PHP-7.1'
2017-06-25 20:15:31 +02:00
Bob Weinand
44d734254a
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:13:48 +02:00
Matthew Trescott
0c4f11ecaa
Add more constants, improve comments, and add tests
2017-06-25 20:12:45 +02:00
Nikita Popov
191f154d40
Merge branch 'PHP-7.1'
2017-06-25 15:32:38 +02:00
Nikita Popov
bda0f4e8dc
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 15:30:29 +02:00
wapmorgan
cd1869bcf2
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
2017-06-25 10:53:28 +02:00
Anatol Belski
f3c4e2f5bf
extend zlib export required for the recent libpng
2017-04-23 21:33:14 +02:00
Anatol Belski
103ebbcb7a
yet one more export required from newer zlib
2017-04-23 21:29:40 +02:00
Anatol Belski
bbd37771f6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
extend zlib export required for the recent libpng
2017-04-23 21:29:04 +02:00
Anatol Belski
144ddd3b42
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
extend zlib export required for the recent libpng
2017-04-23 21:28:26 +02:00
Anatol Belski
2909742326
extend zlib export required for the recent libpng
2017-04-23 21:27:34 +02:00
Anatol Belski
ba64ec0b13
improve zlib version check for tests
2017-03-22 11:08:38 +01:00
Anatol Belski
f258e9b803
make test more flexible to match different compressed strings
...
particurarly needed with zlib 1.2.11
2017-03-22 11:08:37 +01:00
Bob Weinand
8a7a1411b9
Merge branch 'PHP-7.1'
2017-03-15 00:09:59 +01:00
Bob Weinand
f3ab4c1a08
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-15 00:09:42 +01:00
Matt Bonneau
7fba8bda4c
Fixed bug #74240 (deflate_add can allocate too much memory)
2017-03-15 00:08:32 +01:00
Nikita Popov
f25f469088
Merge branch 'PHP-7.1'
2017-01-08 13:48:54 +01:00
Nikita Popov
b38e6a54cf
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-08 13:48:48 +01:00
Nikita Popov
b36f4ac708
deflate_add(): Don't add unnecessary +1 to size
...
zend_string_realloc will do this by itself.
2017-01-08 13:47:20 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Bob Weinand
712c532ab9
Merge branch 'PHP-7.1'
2016-12-22 15:31:58 +01:00
Bob Weinand
898e439333
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 15:31:39 +01:00
Bob Weinand
8823b68c41
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
2016-12-22 15:29:36 +01:00
Pedro Magalhães
9c5af4e4cb
Remove the b prefix from literals on unrelated tests
2016-11-20 21:11:53 +01:00