app/TextParser/Base.php
Property \App\TextParser\Base->textParser
has undeclared type \App\TextParser
(Did you mean class \Tests\App\TextParser) Open
Open
public $textParser;
- Exclude checks
Reference to instance property type
from undeclared class \App\TextParser
Open
Open
if (isset($this->textParser->type) && $this->textParser->type !== $this->type) {
- Exclude checks
Parameter $textParser
has undeclared type \App\TextParser
(Did you mean class \Tests\App\TextParser) Open
Open
public function __construct(\App\TextParser $textParser, $params = '')
- Exclude checks
Reference to instance property moduleName
from undeclared class \App\TextParser
Open
Open
if (isset($this->textParser->moduleName, $this->allowedModules) && !\in_array($this->textParser->moduleName, $this->allowedModules)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var string Class name */
- 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
/** @var mixed Additional params */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $type;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var \App\TextParser TextParser instance */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $params;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Check if function is activated.
- 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
return false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return true;
- 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 $textParser;
- 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
* @param mixed $params
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->textParser = $textParser;
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
Open
if (isset($this->textParser->moduleName, $this->allowedModules) && !\in_array($this->textParser->moduleName, $this->allowedModules)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var array Allowed modules */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Construct.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param \App\TextParser $textParser
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function __construct(\App\TextParser $textParser, $params = '')
- 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
if (isset($this->textParser->moduleName, $this->allowedModules) && !\in_array($this->textParser->moduleName, $this->allowedModules)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $name = '';
- 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
/**
- 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
$this->params = $params;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return bool
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $allowedModules;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @var mixed Parser type */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function isActive()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (isset($this->textParser->type) && $this->textParser->type !== $this->type) {
- 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