Bug #11122

Doc comments for render method not work with tabs

Added by Tomas Majer over 4 years ago. Updated over 3 years ago.

Status:Closed Start date:2010-11-29
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Core
Target version:-
Has patch:No Affected Flow version:FLOW3 1.0.0

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) {}

History

#1 Updated by Sebastian Kurfuerst about 4 years ago

  • Category set to Core
  • Assigned To 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 about 4 years ago

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

#3 Updated by Sebastian Kurfuerst about 4 years ago

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

#4 Updated by Sebastian Kurfuerst almost 5 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 almost 4 years ago

  • Target version deleted (1230)

#6 Updated by Karsten Dambekalns almost 4 years ago

  • Affected Flow version set to FLOW3 1.0.0

#7 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from New to Closed
  • Assigned To 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