diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-20 10:41:10 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-20 19:41:47 +0200 |
commit | e950ca13ea2e8f012ded007ac1251eea01269542 (patch) | |
tree | 3c22f2303d1d0ec2edf7e2fa1f1a495c7b2ae9e9 /ext/ftp/tests | |
parent | c0f8cc1904106753fcb8cc4ecfef0cf154479ad9 (diff) | |
download | php-git-e950ca13ea2e8f012ded007ac1251eea01269542.tar.gz |
Consolidate the usage of "either" and "one of" in error messages
Closes GH-6173
Diffstat (limited to 'ext/ftp/tests')
-rw-r--r-- | ext/ftp/tests/ftp_get_option.phpt | 2 | ||||
-rw-r--r-- | ext/ftp/tests/ftp_set_option_errors.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/tests/ftp_get_option.phpt b/ext/ftp/tests/ftp_get_option.phpt index 336243d64b..13ed76fff1 100644 --- a/ext/ftp/tests/ftp_get_option.phpt +++ b/ext/ftp/tests/ftp_get_option.phpt @@ -28,4 +28,4 @@ try { int(%d) bool(true) bool(true) -ftp_get_option(): Argument #2 ($option) must be either FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS +ftp_get_option(): Argument #2 ($option) must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS diff --git a/ext/ftp/tests/ftp_set_option_errors.phpt b/ext/ftp/tests/ftp_set_option_errors.phpt index 03c387975e..3f5476f6c3 100644 --- a/ext/ftp/tests/ftp_set_option_errors.phpt +++ b/ext/ftp/tests/ftp_set_option_errors.phpt @@ -49,4 +49,4 @@ ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOU ftp_set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC option, string given ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS option, array given ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_AUTOSEEK option, string given -ftp_set_option(): Argument #2 ($option) must be either FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS +ftp_set_option(): Argument #2 ($option) must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS |