]> granicus.if.org Git - php/commit
Elevate warnings to ValueErrors in ext/calendar
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 28 Oct 2019 07:53:56 +0000 (08:53 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 31 Oct 2019 07:49:15 +0000 (08:49 +0100)
commit7816df2c579a80446ef65d4c29fa122a220d4a09
treea801aaf3061a4b321f579ed4d3aa71cb9ebc9795
parentfe13066403553ab9eeb8db2db1896f41aff205ea
Elevate warnings to ValueErrors in ext/calendar

All of these warnings/ValueErrors are due to programming errors, i.e.
calling a function with unsupported arguments.
13 files changed:
ext/calendar/cal_unix.c
ext/calendar/calendar.c
ext/calendar/calendar.stub.php
ext/calendar/calendar_arginfo.h
ext/calendar/easter.c
ext/calendar/tests/cal_days_in_month_error1.phpt
ext/calendar/tests/cal_from_jd_error1.phpt
ext/calendar/tests/cal_info.phpt
ext/calendar/tests/cal_to_jd_error1.phpt
ext/calendar/tests/easter_date.phpt
ext/calendar/tests/jdtojewish.phpt
ext/calendar/tests/jdtounix_error1.phpt
ext/calendar/tests/unixtojd_error1.phpt