Update all @deprecated annotations

to adhere to the @deprecated <version> <description> format, where version and description are mandatory.
This commit is contained in:
Marc Würth 2014-09-02 17:03:22 +02:00
parent 9c2a25d4c0
commit 67ba9cb406
29 changed files with 78 additions and 79 deletions

View file

@ -197,7 +197,7 @@ class Helper extends Object {
*
* @param string $name Name of the property being accessed.
* @return mixed Helper or property found at $name
* @deprecated Accessing request properties through this method is deprecated and will be removed in 3.0.
* @deprecated 3.0.0 Accessing request properties through this method is deprecated and will be removed in 3.0.
*/
public function __get($name) {
if (isset($this->_helperMap[$name]) && !isset($this->{$name})) {
@ -226,7 +226,7 @@ class Helper extends Object {
* @param string $name Name of the property being accessed.
* @param mixed $value Value to set.
* @return void
* @deprecated This method will be removed in 3.0
* @deprecated 3.0.0 This method will be removed in 3.0
*/
public function __set($name, $value) {
switch ($name) {
@ -407,7 +407,7 @@ class Helper extends Object {
*
* @param string|array $output Either an array of strings to clean or a single string to clean.
* @return string|array cleaned content for output
* @deprecated This method will be removed in 3.0
* @deprecated 3.0.0 This method will be removed in 3.0
*/
public function clean($output) {
$this->_reset();
@ -449,7 +449,7 @@ class Helper extends Object {
* @param string $insertBefore String to be inserted before options.
* @param string $insertAfter String to be inserted after options.
* @return string Composed attributes.
* @deprecated This method will be moved to HtmlHelper in 3.0
* @deprecated 3.0.0 This method will be moved to HtmlHelper in 3.0
*/
protected function _parseAttributes($options, $exclude = null, $insertBefore = ' ', $insertAfter = null) {
if (!is_string($options)) {
@ -483,7 +483,7 @@ class Helper extends Object {
* @param string $value The value of the attribute to create.
* @param bool $escape Define if the value must be escaped
* @return string The composed attribute.
* @deprecated This method will be moved to HtmlHelper in 3.0
* @deprecated 3.0.0 This method will be moved to HtmlHelper in 3.0
*/
protected function _formatAttribute($key, $value, $escape = true) {
if (is_array($value)) {
@ -801,7 +801,7 @@ class Helper extends Object {
*
* @param string $str String to be output.
* @return string
* @deprecated This method will be removed in future versions.
* @deprecated 3.0.0 This method will be removed in future versions.
*/
public function output($str) {
return $str;