Bug #11122

Doc comments for render method not work with tabs

Added by Tomas Majer about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Core
Target version:
-
Start date:
2010-11-29
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

There are problem with tabs in doc comments in render method. Fluid crash with exception:

#1242292003: could not determine type of argument "text" of the render-method in ViewHelper "Tx_My_ViewHelpers_MyViewHelper". Either the methods docComment is invalid or some PHP optimizer strips off comments.

Example:

/**
 * @param    string    $text
 * @return    string
 * @api
 */
public function render($text) {}

#1

Updated by Sebastian Kurfuerst over 10 years ago

  • Category set to Core
  • Assignee set to Sebastian Kurfuerst
  • Priority changed from Should have to Must have
  • Target version set to 1.0 beta 1

I am not sure if FLOW3 is capable of this, we need to discuss that.

#2

Updated by Sebastian Kurfuerst over 10 years ago

  • Parent task set to #26665
  • Has patch set to No
#3

Updated by Sebastian Kurfuerst over 10 years ago

  • Tracker changed from Task to Bug
  • Parent task deleted (#26665)
#4

Updated by Sebastian Kurfuerst over 10 years ago

  • Priority changed from Must have to Should have
  • Target version changed from 1.0 beta 1 to 1230
#5

Updated by Karsten Dambekalns about 10 years ago

  • Target version deleted (1230)
#7

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from New to Closed
  • Assignee changed from Sebastian Kurfuerst to Karsten Dambekalns

I think this has been solved in the meantime with changes to the ReflectionService.

Also available in: Atom PDF