com php-src: Remove wrong argument $session from SNMP::setSecurity(): ext/snmp/snmp.c ext/snmp/tests/reflection.phpt
| From: | Stanislav Malyshev | Date: | Sun, 18 Oct 2015 21:48:39 +0000 |
| Subject: | com php-src: Remove wrong argument $session from SNMP::setSecurity(): ext/snmp/snmp.c ext/snmp/tests/reflection.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89434@lists.php.net to get a copy of this message | ||
Commit: 718445b09634db2033d0ed0e1849cac6f85faf48
Author: jubianchi <contact@jubianchi.fr> Fri, 11 Sep 2015 18:13:23 +0200
Committer: Stanislav Malyshev <stas@php.net> Sun, 18 Oct 2015 14:48:39 -0700
Parents: 39a251464329fbc8bc6eb14e50974372aff15803
Branches: PHP-5.6 PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=718445b09634db2033d0ed0e1849cac6f85faf48
Log:
Remove wrong argument $session from SNMP::setSecurity()
Changed paths:
M ext/snmp/snmp.c
M ext/snmp/tests/reflection.phpt
Diff:
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 1d43cd9..3206a06 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -338,7 +338,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_snmp_void, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_snmp_setSecurity, 0, 0, 8)
- ZEND_ARG_INFO(0, session)
ZEND_ARG_INFO(0, sec_level)
ZEND_ARG_INFO(0, auth_protocol)
ZEND_ARG_INFO(0, auth_passphrase)
diff --git a/ext/snmp/tests/reflection.phpt b/ext/snmp/tests/reflection.phpt
index 91e9876..8e2b92f 100644
--- a/ext/snmp/tests/reflection.phpt
+++ b/ext/snmp/tests/reflection.phpt
@@ -41,15 +41,14 @@ Method [ <internal:snmp> public method close ] {
Method [ <internal:snmp> public method setSecurity ] {
- - Parameters [8] {
- Parameter #0 [ <required> $session ]
- Parameter #1 [ <required> $sec_level ]
- Parameter #2 [ <required> $auth_protocol ]
- Parameter #3 [ <required> $auth_passphrase ]
- Parameter #4 [ <required> $priv_protocol ]
- Parameter #5 [ <required> $priv_passphrase ]
- Parameter #6 [ <required> $contextName ]
- Parameter #7 [ <required> $contextEngineID ]
+ - Parameters [7] {
+ Parameter #0 [ <required> $sec_level ]
+ Parameter #1 [ <required> $auth_protocol ]
+ Parameter #2 [ <required> $auth_passphrase ]
+ Parameter #3 [ <required> $priv_protocol ]
+ Parameter #4 [ <required> $priv_passphrase ]
+ Parameter #5 [ <required> $contextName ]
+ Parameter #6 [ <required> $contextEngineID ]
}
}