app/TextParser/UserVariable.php
Call to method getUserVariables
from undeclared class \App\TextParser
(Did you mean class \Tests\App\TextParser) Open
Open
$data = $this->textParser->getUserVariables($this->params, false);
- Exclude checks
Call to method getParam
from undeclared class \App\TextParser
(Did you mean class \Tests\App\TextParser) Open
Open
return $this->textParser->getParam($key) ?? ($data[$key]['default'] ?? '');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string Parser type */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this->textParser->getParam($key) ?? ($data[$key]['default'] ?? '');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $name = 'LBL_TEXT_PARSER_USER_VARIABLE';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$data = $this->textParser->getUserVariables($this->params, false);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$key = (string) key($data);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $type = 'pdf';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Process.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string Default template */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $default = '$(userVariable : name=__FIELD_NAME__|label=__LABEL__|default=__DEFAULT_VALUE__)$';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return string
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function process()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks