From dbaf3ce37916848233275967ea35fd20fcca1fed Mon Sep 17 00:00:00 2001 From: Fabian Sabau Date: Wed, 28 Nov 2018 17:30:36 +0100 Subject: [PATCH] Remove duplicate url scheme inside phpDoc blocks Signed-off-by: Fabian Sabau --- SPL/SPL.php | 16 ++++++++-------- dom/dom_c.php | 8 ++++---- igbinary/igbinary.php | 8 ++++---- intl/intl.php | 4 ++-- mbstring/mbstring.php | 2 +- snmp/snmp.php | 16 ++++++++-------- sockets/sockets.php | 4 ++-- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/SPL/SPL.php b/SPL/SPL.php index 3396cd2a..2c6e320a 100644 --- a/SPL/SPL.php +++ b/SPL/SPL.php @@ -106,7 +106,7 @@ class UnexpectedValueException extends RuntimeException { /** * The EmptyIterator class for an empty iterator. - * @link https://https://secure.php.net/manual/en/class.emptyiterator.php + * @link https://secure.php.net/manual/en/class.emptyiterator.php */ class EmptyIterator implements Iterator { @@ -154,7 +154,7 @@ class EmptyIterator implements Iterator { /** * Filtered iterator using the callback to determine which items are accepted or rejected. - * @link https://https://secure.php.net/manual/en/class.callbackfilteriterator.php + * @link https://secure.php.net/manual/en/class.callbackfilteriterator.php * @since 5.4.0 */ class CallbackFilterIterator extends FilterIterator { @@ -166,14 +166,14 @@ class CallbackFilterIterator extends FilterIterator { * May be any valid callable value. * The callback should accept up to three arguments: the current item, the current key and the iterator, respectively. * function my_callback($current, $key, $iterator) - * @link https://https://secure.php.net/manual/en/callbackfilteriterator.construct.php + * @link https://secure.php.net/manual/en/callbackfilteriterator.construct.php */ function __construct(Iterator $iterator , callable $callback) { } /** * This method calls the callback with the current value, current key and the inner iterator. * The callback is expected to return TRUE if the current item is to be accepted, or FALSE otherwise. - * @link https://https://secure.php.net/manual/en/callbackfilteriterator.accept.php + * @link https://secure.php.net/manual/en/callbackfilteriterator.accept.php * @return bool true if the current element is acceptable, otherwise false. */ public function accept() { } @@ -182,7 +182,7 @@ class CallbackFilterIterator extends FilterIterator { /** * (PHP 5 >= 5.4.0)
* RecursiveCallbackFilterIterator from a RecursiveIterator - * @link https://https://secure.php.net/manual/en/class.recursivecallbackfilteriterator.php + * @link https://secure.php.net/manual/en/class.recursivecallbackfilteriterator.php */ class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator { @@ -191,7 +191,7 @@ class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements * @param RecursiveIterator $iterator The recursive iterator to be filtered. * @param string $callback The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples. * May be any valid callable value. - * @link https://https://secure.php.net/manual/en/recursivecallbackfilteriterator.getchildren.php + * @link https://secure.php.net/manual/en/recursivecallbackfilteriterator.getchildren.php */ function __construct( RecursiveIterator $iterator, $callback ) { } @@ -204,7 +204,7 @@ class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements /** * Returns an iterator for the current entry. - * @link https://https://secure.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php + * @link https://secure.php.net/manual/en/recursivecallbackfilteriterator.haschildren.php * @return RecursiveCallbackFilterIterator containing the children. */ public function getChildren() { } @@ -1306,7 +1306,7 @@ class RegexIterator extends FilterIterator { /** * Returns current regular expression - * @link https://https://secure.php.net/manual/en/regexiterator.getregex.php + * @link https://secure.php.net/manual/en/regexiterator.getregex.php * @return string * @since 5.4.0 */ diff --git a/dom/dom_c.php b/dom/dom_c.php index 99c519a9..ebc38642 100644 --- a/dom/dom_c.php +++ b/dom/dom_c.php @@ -28,7 +28,7 @@ class DOMNode { * @var int * @since 5.0 * Gets the type of the node. One of the predefined - * XML_xxx_NODE constants + * XML_xxx_NODE constants * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype */ public $nodeType; @@ -321,7 +321,7 @@ class DOMNode { /** * Gets an XPath location path for the node * @return string the XPath, or NULL in case of an error. - * @link https://https://secure.php.net/manual/en/domnode.getnodepath.php + * @link https://secure.php.net/manual/en/domnode.getnodepath.php * @since 5.3.0 */ public function getNodePath () {} @@ -1877,14 +1877,14 @@ class DOMConfiguration { /** * The DOMCdataSection inherits from DOMText for textural representation of CData constructs. - * @link https://https://secure.php.net/manual/en/class.domcdatasection.php + * @link https://secure.php.net/manual/en/class.domcdatasection.php */ class DOMCdataSection extends DOMText { /** * The value of the CDATA node. If not supplied, an empty CDATA node is created. * @param string $value The value of the CDATA node. If not supplied, an empty CDATA node is created. - * @link https://https://secure.php.net/manual/en/domcdatasection.construct.php + * @link https://secure.php.net/manual/en/domcdatasection.construct.php * @since 5.0 */ public function __construct ($value) {} diff --git a/igbinary/igbinary.php b/igbinary/igbinary.php index 9aeb12d2..78b48288 100644 --- a/igbinary/igbinary.php +++ b/igbinary/igbinary.php @@ -10,7 +10,7 @@ * You can even serialize() arrays that contain references to itself. * Circular references inside the array/object you are serialize()ing will also be stored. * - * If object implements {@link https://https://secure.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable} -interface, + * If object implements {@link https://secure.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable} -interface, * PHP will call the member function serialize to get serialized representation of object. * * When serializing objects, PHP will attempt to call the member function __sleep prior to serialization. @@ -19,7 +19,7 @@ * * @param mixed $value The value to be serialized. * @return string Returns a string containing a byte-stream representation of value that can be stored anywhere. - * @link https://https://secure.php.net/serialize PHP default serialize + * @link https://secure.php.net/serialize PHP default serialize */ function igbinary_serialize($value) {} @@ -32,8 +32,8 @@ function igbinary_serialize($value) {} * * @param string $str The serialized string. * @return mixed The converted value is returned, and can be a boolean, integer, float, string, array or object. - * @link https://https://secure.php.net/manual/en/function.unserialize.php PHP default unserialize - * @link https://https://secure.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable + * @link https://secure.php.net/manual/en/function.unserialize.php PHP default unserialize + * @link https://secure.php.net/~helly/php/ext/spl/interfaceSerializable.html Serializable */ function igbinary_unserialize($str) {} diff --git a/intl/intl.php b/intl/intl.php index 5457c23e..9e297cd7 100644 --- a/intl/intl.php +++ b/intl/intl.php @@ -1106,13 +1106,13 @@ class Normalizer { /** * Default normalization options - * @link https://https://secure.php.net/manual/en/class.normalizer.php + * @link https://secure.php.net/manual/en/class.normalizer.php */ const OPTION_DEFAULT = ""; /** * No decomposition/composition - * @link https://https://secure.php.net/manual/en/class.normalizer.php + * @link https://secure.php.net/manual/en/class.normalizer.php */ const NONE = "1"; diff --git a/mbstring/mbstring.php b/mbstring/mbstring.php index a8e02e6c..9e53e029 100644 --- a/mbstring/mbstring.php +++ b/mbstring/mbstring.php @@ -1023,7 +1023,7 @@ function mb_ereg_replace ($pattern, $replacement, $string, $option = "msr") {} /** * Perform a regular expresssion seach and replace with multibyte support using a callback - * @link https://https://secure.php.net/manual/en/function.mb-ereg-replace-callback.php + * @link https://secure.php.net/manual/en/function.mb-ereg-replace-callback.php * @param string $pattern

* The regular expression pattern. *

diff --git a/snmp/snmp.php b/snmp/snmp.php index 0d036666..921b3ffe 100644 --- a/snmp/snmp.php +++ b/snmp/snmp.php @@ -9,7 +9,7 @@ class SNMP { /** * @var int Maximum OID per GET/SET/GETBULK request - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.max-oids + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.max-oids */ public $max_oids; @@ -20,21 +20,21 @@ class SNMP { *
SNMP_VALUE_PLAIN
The return values will be the plain value without the SNMP type hint. *
SNMP_VALUE_OBJECT
The return values will be objects with the properties "value" and "type", where the latter is one of the SNMP_OCTET_STR, SNMP_COUNTER etc. constants. The way "value" is returned is based on which one of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN is set *
- * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.max-oids + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.max-oids */ public $valueretrieval; /** * @var bool Value of quick_print within the NET-SNMP library *

Sets the value of quick_print within the NET-SNMP library. When this is set (1), the SNMP library will return 'quick printed' values. This means that just the value will be printed. When quick_print is not enabled (default) the UCD SNMP library prints extra information including the type of the value (i.e. IpAddress or OID). Additionally, if quick_print is not enabled, the library prints additional hex values for all strings of three characters or less. - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.quick-print + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.quick-print */ public $quick_print; /** * @var bool Controls the way enum values are printed *

Parameter toggles if walk/get etc. should automatically lookup enum values in the MIB and return them together with their human readable string. - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.enum-print + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.enum-print */ public $enum_print; @@ -49,26 +49,26 @@ class SNMP { *

SNMP_OID_OUTPUT_UCD
system.sysUpTime.sysUpTimeInstance *
SNMP_OID_OUTPUT_NONE
Undefined *
- * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.oid-output-format + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.oid-output-format */ public $oid_output_format; /** * @var bool Controls disabling check for increasing OID while walking OID tree *

Some SNMP agents are known for returning OIDs out of order but can complete the walk anyway. Other agents return OIDs that are out of order and can cause SNMP::walk() to loop indefinitely until memory limit will be reached. PHP SNMP library by default performs OID increasing check and stops walking on OID tree when it detects possible loop with issuing warning about non-increasing OID faced. Set oid_increasing_check to FALSE to disable this check. - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.oid-increasing-check + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.oid-increasing-check */ public $oid_increasing_check; /** * @var int Controls which failures will raise SNMPException instead of warning. Use bitwise OR'ed SNMP::ERRNO_* constants. By default all SNMP exceptions are disabled. - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.exceptions-enabled + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.exceptions-enabled */ public $exceptions_enabled; /** * @var array Read-only property with remote agent configuration: hostname, port, default timeout, default retries count - * @link https://https://secure.php.net/manual/en/class.snmp.php#snmp.props.info + * @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.info */ public $info; diff --git a/sockets/sockets.php b/sockets/sockets.php index 52bd1843..7cc12e0b 100644 --- a/sockets/sockets.php +++ b/sockets/sockets.php @@ -674,7 +674,7 @@ function socket_send ($socket, $buf, $len, $flags) {} /** * (PHP 5 >=5.5.0)
* Send a message - * @link https://https://secure.php.net/manual/en/function.socket-sendmsg.php + * @link https://secure.php.net/manual/en/function.socket-sendmsg.php * @param resource $socket * @param array $message * @param int $flags @@ -761,7 +761,7 @@ function socket_recvfrom ($socket, &$buf, $len, $flags, &$name, &$port = null) { /** * Read a message - * @link https://https://secure.php.net/manual/en/function.socket-recvmsg.php + * @link https://secure.php.net/manual/en/function.socket-recvmsg.php * @param resource $socket * @param string $message * @param int $flags [optional]