Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
fluid-plugin fluid-plugin
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • PHPStorm
  • fluid-pluginfluid-plugin
  • Issues
  • #89

Closed
Open
Created Apr 15, 2017 by Dieter@Padina42

Viewhelper-arguments are marked as wrong, if the arguments-names are defined with php constants.

The extension remarks an error, if I define the custom argument of my viewhelper in the following way:

    const SVG_VIEWHELPER_ARGUMENTS_REMOVE_WHITESPACE = 'removeWhitespace';
....
        $this->registerArgument(self::SVG_VIEWHELPER_ARGUMENTS_REMOVE_WHITESPACE,
            'string',
            'This definition will mark the attribute "removeWhitespace" in the template as wrong/undefined.'
        );

The following definition allow the attribute 'removeWhitespace' in my custom viewhelper.

        $this->registerArgument('removeWhitespace',
            'string',
            'This definition allow the attribute "removeWhitespace" in my viewhelper.'
        );
Assignee
Assign to
2.0.0
Milestone
2.0.0
Assign milestone
Time tracking