Skip to content

Commit

Permalink
Cleanup @SInCE tags with old versions <5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed Jan 22, 2020
1 parent 4987fd5 commit b1041ca
Show file tree
Hide file tree
Showing 81 changed files with 14 additions and 3,797 deletions.
87 changes: 0 additions & 87 deletions Core/Core.php

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions Core/Core_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ interface IteratorAggregate extends Traversable {
* @return Traversable An instance of an object implementing <b>Iterator</b> or
* <b>Traversable</b>
* @throws Exception on failure.
* @since 5.0
*/
public function getIterator();
}
Expand All @@ -52,23 +51,20 @@ interface Iterator extends Traversable {
* Return the current element
* @link https://php.net/manual/en/iterator.current.php
* @return mixed Can return any type.
* @since 5.0
*/
public function current();

/**
* Move forward to next element
* @link https://php.net/manual/en/iterator.next.php
* @return void Any returned value is ignored.
* @since 5.0
*/
public function next();

/**
* Return the key of the current element
* @link https://php.net/manual/en/iterator.key.php
* @return string|float|int|bool|null scalar on success, or null on failure.
* @since 5.0
*/
public function key();

Expand All @@ -77,15 +73,13 @@ public function key();
* @link https://php.net/manual/en/iterator.valid.php
* @return bool The return value will be casted to boolean and then evaluated.
* Returns true on success or false on failure.
* @since 5.0
*/
public function valid();

/**
* Rewind the Iterator to the first element
* @link https://php.net/manual/en/iterator.rewind.php
* @return void Any returned value is ignored.
* @since 5.0
*/
public function rewind();
}
Expand All @@ -106,7 +100,6 @@ interface ArrayAccess {
* </p>
* <p>
* The return value will be casted to boolean if non-boolean was returned.
* @since 5.0
*/
public function offsetExists($offset);

Expand All @@ -117,7 +110,6 @@ public function offsetExists($offset);
* The offset to retrieve.
* </p>
* @return mixed Can return all value types.
* @since 5.0
*/
public function offsetGet($offset);

Expand All @@ -131,7 +123,6 @@ public function offsetGet($offset);
* The value to set.
* </p>
* @return void
* @since 5.0
*/
public function offsetSet($offset, $value);

Expand All @@ -142,7 +133,6 @@ public function offsetSet($offset, $value);
* The offset to unset.
* </p>
* @return void
* @since 5.0
*/
public function offsetUnset($offset);
}
Expand All @@ -157,7 +147,6 @@ interface Serializable {
* String representation of object
* @link https://php.net/manual/en/serializable.serialize.php
* @return string the string representation of the object or null
* @since 5.1
*/
public function serialize();

Expand All @@ -168,7 +157,6 @@ public function serialize();
* The string representation of the object.
* </p>
* @return void
* @since 5.1
*/
public function unserialize($serialized);
}
Expand Down Expand Up @@ -272,7 +260,6 @@ class Exception implements Throwable {
* Tries to clone the Exception, which results in Fatal error.
* @link https://php.net/manual/en/exception.clone.php
* @return void
* @since 5.1
*/
final private function __clone() { }

Expand All @@ -282,15 +269,13 @@ final private function __clone() { }
* @param string $message [optional] The Exception message to throw.
* @param int $code [optional] The Exception code.
* @param Throwable $previous [optional] The previous throwable used for the exception chaining.
* @since 5.1
*/
public function __construct($message = "", $code = 0, Throwable $previous = null) { }

/**
* Gets the Exception message
* @link https://php.net/manual/en/exception.getmessage.php
* @return string the Exception message as a string.
* @since 5.1
*/
final public function getMessage() { }

Expand All @@ -301,31 +286,27 @@ final public function getMessage() { }
* <b>Exception</b> but possibly as other type in
* <b>Exception</b> descendants (for example as
* string in <b>PDOException</b>).
* @since 5.1
*/
final public function getCode() { }

/**
* Gets the file in which the exception occurred
* @link https://php.net/manual/en/exception.getfile.php
* @return string the filename in which the exception was created.
* @since 5.1
*/
final public function getFile() { }

/**
* Gets the line in which the exception occurred
* @link https://php.net/manual/en/exception.getline.php
* @return int the line number where the exception was created.
* @since 5.1
*/
final public function getLine() { }

/**
* Gets the stack trace
* @link https://php.net/manual/en/exception.gettrace.php
* @return array the Exception stack trace as an array.
* @since 5.1
*/
final public function getTrace() { }

Expand All @@ -334,23 +315,20 @@ final public function getTrace() { }
* @link https://php.net/manual/en/exception.getprevious.php
* @return Exception the previous <b>Exception</b> if available
* or null otherwise.
* @since 5.3
*/
final public function getPrevious() { }

/**
* Gets the stack trace as a string
* @link https://php.net/manual/en/exception.gettraceasstring.php
* @return string the Exception stack trace as a string.
* @since 5.1
*/
final public function getTraceAsString() { }

/**
* String representation of the exception
* @link https://php.net/manual/en/exception.tostring.php
* @return string the string representation of the exception.
* @since 5.1
*/
public function __toString() { }

Expand Down Expand Up @@ -539,15 +517,13 @@ class ErrorException extends Exception {
* @param string $filename [optional] The filename where the exception is thrown.
* @param int $lineno [optional] The line number where the exception is thrown.
* @param Exception $previous [optional] The previous exception used for the exception chaining.
* @since 5.1
*/
public function __construct($message = "", $code = 0, $severity = 1, $filename = __FILE__, $lineno = __LINE__, $previous = null) { }

/**
* Gets the exception severity
* @link https://php.net/manual/en/errorexception.getseverity.php
* @return int the severity level of the exception.
* @since 5.1
*/
final public function getSeverity() { }
}
Expand Down Expand Up @@ -636,7 +612,6 @@ interface Countable {
* </p>
* <p>
* The return value is cast to an integer.
* @since 5.1
*/
public function count();
}
Expand Down
1 change: 0 additions & 1 deletion PDO/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ class PDO {
* As <b>PDO::FETCH_INTO</b> but object is provided as a serialized string.
* Available since PHP 5.1.0. Since PHP 5.3.0 the class constructor is never called if this
* flag is set.
* @since 5.1
* @link https://php.net/manual/en/pdo.constants.php#pdo.constants.fetch-serialize
*/
const FETCH_SERIALIZE = 524288;
Expand Down
16 changes: 0 additions & 16 deletions Phar/Phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,6 @@ final public static function webPhar ($alias = null, $index = "index.php", $f404
* @param bool $allow_links [optional] <p>
* </p>
* @return bool whether the current entry is a directory, but not '.' or '..'
* @since 5.0
*/
public function hasChildren ($allow_links = false) {}

Expand All @@ -818,23 +817,20 @@ public function hasChildren ($allow_links = false) {}
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator
* constants.
* @since 5.1
*/
public function getChildren () {}

/**
* Rewinds back to the beginning
* @link https://php.net/manual/en/filesystemiterator.rewind.php
* @return void No value is returned.
* @since 5.3
*/
public function rewind () {}

/**
* Move to the next file
* @link https://php.net/manual/en/filesystemiterator.next.php
* @return void No value is returned.
* @since 5.3
*/
public function next () {}

Expand All @@ -843,7 +839,6 @@ public function next () {}
* @link https://php.net/manual/en/filesystemiterator.key.php
* @return string the pathname or filename depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3
*/
public function key () {}

Expand All @@ -852,15 +847,13 @@ public function key () {}
* @link https://php.net/manual/en/filesystemiterator.current.php
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3
*/
public function current () {}

/**
* Check whether current DirectoryIterator position is a valid file
* @link https://php.net/manual/en/directoryiterator.valid.php
* @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
* @since 5.0
*/
public function valid () {}

Expand All @@ -871,7 +864,6 @@ public function valid () {}
* The zero-based numeric position to seek to.
* </p>
* @return void No value is returned.
* @since 5.3
*/
public function seek ($position) {}

Expand Down Expand Up @@ -948,7 +940,6 @@ public function offsetUnset ($offset) {}
* @param bool $allow_links [optional] <p>
* </p>
* @return bool whether the current entry is a directory, but not '.' or '..'
* @since 5.0
*/
public function hasChildren ($allow_links = false) {}

Expand All @@ -958,7 +949,6 @@ public function hasChildren ($allow_links = false) {}
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator
* constants.
* @since 5.1
*/
public function getChildren () {}

Expand All @@ -967,15 +957,13 @@ public function getChildren () {}
* Rewinds back to the beginning
* @link https://php.net/manual/en/filesystemiterator.rewind.php
* @return void No value is returned.
* @since 5.3
*/
public function rewind () {}

/**
* Move to the next file
* @link https://php.net/manual/en/filesystemiterator.next.php
* @return void No value is returned.
* @since 5.3
*/
public function next () {}

Expand All @@ -984,7 +972,6 @@ public function next () {}
* @link https://php.net/manual/en/filesystemiterator.key.php
* @return string the pathname or filename depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3
*/
public function key () {}

Expand All @@ -993,7 +980,6 @@ public function key () {}
* @link https://php.net/manual/en/filesystemiterator.current.php
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3
*/
public function current () {}

Expand All @@ -1003,7 +989,6 @@ public function current () {}
* Check whether current DirectoryIterator position is a valid file
* @link https://php.net/manual/en/directoryiterator.valid.php
* @return bool <b>TRUE</b> if the position is valid, otherwise <b>FALSE</b>
* @since 5.0
*/
public function valid () {}

Expand All @@ -1014,7 +999,6 @@ public function valid () {}
* The zero-based numeric position to seek to.
* </p>
* @return void No value is returned.
* @since 5.3
*/
public function seek ($position) {}

Expand Down
Loading

0 comments on commit b1041ca

Please sign in to comment.