]> granicus.if.org Git - php/commit
Improve error messages mentioning parameters instead of arguments
authorMáté Kocsis <kocsismate@woohoolabs.com>
Sun, 16 Aug 2020 19:49:20 +0000 (21:49 +0200)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Wed, 9 Sep 2020 08:47:43 +0000 (10:47 +0200)
commit9975986b7ef849c3a8e73a48748befbfdc50e416
treeb287480ec6e0d4853fa4e1f53d3627836b74d695
parentc5b42be40e98f1626e2404af069af16cb6510ef3
Improve error messages mentioning parameters instead of arguments

Closes GH-5999
143 files changed:
UPGRADING
Zend/tests/bug46106.phpt
Zend/tests/bug51827.phpt
Zend/tests/bug72038.phpt
Zend/tests/bug72107.phpt
Zend/tests/bug73663_2.phpt
Zend/tests/bug78154.phpt
Zend/tests/bug79783.phpt
Zend/tests/closure_019.phpt
Zend/tests/errmsg_022.phpt
Zend/tests/function_arguments/argument_count_incorrect_internal.phpt
Zend/tests/function_arguments/argument_count_incorrect_internal_strict.phpt
Zend/tests/generators/errors/count_error.phpt
Zend/tests/match/027.phpt
Zend/tests/match/028.phpt
Zend/tests/named_params/cannot_pass_by_ref.phpt
Zend/tests/nullsafe_operator/013.phpt
Zend/tests/nullsafe_operator/016.phpt
Zend/tests/variadic/by_ref_error.phpt
Zend/zend_API.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/tests/DateTimeZone_construct_error.phpt
ext/date/tests/DateTime_construct_error.phpt
ext/date/tests/mktime_error.phpt
ext/dom/tests/DOMAttr_construct_error_001.phpt
ext/dom/tests/DOMCDATASection_construct_error_001.phpt
ext/dom/tests/DOMComment_construct_error_001.phpt
ext/dom/tests/DOMDocumentFragment_construct_error_001.phpt
ext/fileinfo/tests/bug61173.phpt
ext/imap/tests/imap_timeout_basic.phpt
ext/intl/tests/breakiter___construct_error.phpt
ext/intl/tests/calendar_before_after_error.phpt
ext/intl/tests/calendar_equals_error.phpt
ext/intl/tests/calendar_fieldDifference_error.phpt
ext/intl/tests/calendar_getLocale_error.phpt
ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
ext/intl/tests/calendar_isEquivalentTo_error.phpt
ext/intl/tests/calendar_setTimeZone_error.phpt
ext/intl/tests/calendar_setTime_error.phpt
ext/intl/tests/calendar_set_error.phpt
ext/intl/tests/formatter_fail.phpt
ext/intl/tests/msgfmt_fail2.phpt
ext/json/tests/json_last_error_error.phpt
ext/json/tests/json_last_error_msg_error.phpt
ext/mysqli/tests/mysqli_connect_errno.phpt
ext/mysqli/tests/mysqli_connect_error.phpt
ext/mysqli/tests/mysqli_fetch_object_oo.phpt
ext/mysqli/tests/mysqli_pconn_max_links.phpt
ext/oci8/tests/array_bind_013.phpt
ext/opcache/jit/zend_jit_x86.dasc
ext/opcache/tests/optimize_func_calls.phpt
ext/openssl/tests/bug71475.phpt
ext/pcre/tests/preg_match_all_error3.phpt
ext/pdo_mysql/tests/bug_37445.phpt
ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt
ext/phar/tests/002.phpt
ext/phar/tests/badparameters.phpt
ext/phar/tests/bug60261.phpt
ext/reflection/tests/ReflectionClass_constructor_002.phpt
ext/reflection/tests/ReflectionClass_getMethod_002.phpt
ext/reflection/tests/ReflectionClass_getProperty_002.phpt
ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt
ext/reflection/tests/ReflectionClass_implementsInterface_001.phpt
ext/reflection/tests/ReflectionClass_isSubclassOf_002.phpt
ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt
ext/reflection/tests/ReflectionExtension_constructor_error.phpt
ext/reflection/tests/ReflectionFunction_construct.001.phpt
ext/reflection/tests/ReflectionMethod_006.phpt
ext/reflection/tests/ReflectionMethod_constructor_error2.phpt
ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
ext/reflection/tests/ReflectionObject_isSubclassOf.002.phpt
ext/reflection/tests/ReflectionParameter_invalidMethodInConstructor.phpt
ext/reflection/tests/ReflectionProperty_error.phpt
ext/reflection/tests/ReflectionProperty_getValue_error.phpt
ext/session/tests/session_set_save_handler_class_012.phpt
ext/session/tests/session_set_save_handler_class_013.phpt
ext/snmp/tests/snmp-object-error.phpt
ext/soap/tests/bugs/bug31422.phpt
ext/sockets/tests/socket_connect_params.phpt
ext/sodium/tests/bug78114.phpt
ext/spl/tests/AppendIterator_invalid_ctor.phpt
ext/spl/tests/CallbackFilterIteratorTest-002.phpt
ext/spl/tests/arrayObject___construct_error2.phpt
ext/spl/tests/arrayObject_exchangeArray_basic3.phpt
ext/spl/tests/arrayObject_natcasesort_basic1.phpt
ext/spl/tests/arrayObject_natsort_basic1.phpt
ext/spl/tests/arrayObject_uasort_error1.phpt
ext/spl/tests/arrayObject_uksort_error1.phpt
ext/spl/tests/iterator_056.phpt
ext/spl/tests/iterator_062.phpt
ext/spl/tests/recursive_tree_iterator_002.phpt
ext/spl/tests/spl_004.phpt
ext/spl/tests/spl_iterator_iterator_constructor.phpt
ext/sqlite3/tests/sqlite3_02_open.phpt
ext/standard/array.c
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/formatted_print.c
ext/standard/tests/array/array_diff_assoc_error.phpt
ext/standard/tests/array/array_diff_error.phpt
ext/standard/tests/array/array_diff_key_error.phpt
ext/standard/tests/array/array_diff_uassoc_error.phpt
ext/standard/tests/array/array_filter_variation10.phpt
ext/standard/tests/array/array_intersect_assoc_error.phpt
ext/standard/tests/array/array_intersect_error.phpt
ext/standard/tests/array/array_intersect_key_error.phpt
ext/standard/tests/array/array_map_error.phpt
ext/standard/tests/array/array_map_variation12.phpt
ext/standard/tests/array/array_next_error2.phpt
ext/standard/tests/array/array_walk_error2.phpt
ext/standard/tests/array/array_walk_recursive_error2.phpt
ext/standard/tests/array/count_invalid.phpt
ext/standard/tests/array/count_recursive.phpt
ext/standard/tests/array/prev_error3.phpt
ext/standard/tests/array/sizeof_basic1.phpt
ext/standard/tests/array/sizeof_object2.phpt
ext/standard/tests/array/sizeof_variation1.phpt
ext/standard/tests/array/sizeof_variation4.phpt
ext/standard/tests/general_functions/error_get_last.phpt
ext/standard/tests/general_functions/is_countable_with_variables.phpt
ext/standard/tests/password/password_hash_error.phpt
ext/standard/tests/password/password_needs_rehash_error.phpt
ext/standard/tests/password/password_verify_error.phpt
ext/standard/tests/random/random_bytes_error.phpt
ext/standard/tests/random/random_int_error.phpt
ext/standard/tests/strings/chr_error.phpt
ext/standard/tests/strings/crypt.phpt
ext/standard/tests/strings/fprintf_error.phpt
ext/standard/tests/strings/printf.phpt
ext/standard/tests/strings/printf_64bit.phpt
ext/standard/tests/strings/printf_error.phpt
ext/standard/tests/strings/sprintf_error.phpt
ext/standard/tests/strings/vfprintf_error1.phpt
ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
tests/classes/constants_error_003.phpt
tests/lang/passByReference_002.phpt
tests/lang/passByReference_010.phpt
tests/output/ob_014.phpt
tests/output/ob_015.phpt