Gabriel Caruso
4aabfe911e
Revert "Update versions for PHP 8.0.21"
...
This reverts commit 6eedacdf15 .
2022-07-06 12:06:48 +02:00
Gabriel Caruso
8a233644fc
Revert "Update versions for PHP 8.0.21"
...
This reverts commit 6eedacdf15 .
2022-07-06 11:53:05 +02:00
Máté Kocsis
e950ca13ea
Consolidate the usage of "either" and "one of" in error messages
...
Closes GH-6173
2020-09-20 19:41:47 +02:00
Máté Kocsis
9975986b7e
Improve error messages mentioning parameters instead of arguments
...
Closes GH-5999
2020-09-09 10:47:43 +02:00
Máté Kocsis
d30cd7d7e7
Review the usage of apostrophes in error messages
...
Closes GH-5590
2020-07-10 21:05:28 +02:00
Máté Kocsis
d7b73de8c9
Improve error messages of ext/reflection
...
Closes GH-5277
2020-03-23 17:23:45 +01:00
Nikita Popov
f8d795820e
Reindent phpt files
2020-02-03 22:52:20 +01: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
Aaron Piotrowski
64b167d201
Updated tests to reflect exception class changes.
2015-05-16 16:49:14 -05:00
Nikita Popov
122d759618
Always throw TypeException on throwing zpp failures
...
Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.
Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.
Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.
2015-04-06 11:27:34 +02:00
Danack
043a02605f
Fixed ReflectionFunction, ReflectionMethod and ReflectionParameter.
2015-03-01 13:06:58 +00:00
Sebastian Bergmann
fa587effb7
Rename reflection*.phpt to Reflection*.phpt for consistency.
2009-04-08 16:08:58 +00:00