src/JsPhpize/JsPhpizeOptions.php
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
Open
Open
$this->options['patterns'][] = $pattern;
- Exclude checks
Assigning null
to property but \JsPhpize\JsPhpizeOptions->patternsCache
is array
Open
Open
$this->patternsCache = null;
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
Open
Open
return isset($this->options[$key]) ? $this->options[$key] : $default;
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
(Did you mean $options) Open
Open
$this->options = is_array($options) || $options instanceof ArrayAccess ? $options : [];
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
(Did you mean $options) Open
Open
new Pattern(130, 'constant', 'null|undefined|Infinity|NaN|true|false|Math\.[A-Z][A-Z0-9_]*' . (isset($this->options['disableConstants']) && $this->options['disableConstants']
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
Open
Open
$this->options['patterns'] = array_filter($this->options['patterns'], $removeFunction);
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
(Did you mean $options) Open
Open
$this->options['patterns'] = [
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
(Did you mean $options) Open
Open
if (!isset($this->options['patterns'])) {
- Exclude checks
Line exceeds 120 characters; contains 485 characters Open
Open
new Pattern(120, 'keyword', ['as', 'async', 'await', 'break', 'case', 'catch', 'class', 'clone', 'const', 'continue', 'debugger', 'default', 'do', 'else', 'enum', 'export', 'extends', 'finally', 'for', 'from', 'function', 'get', 'if', 'implements', 'import', 'in', 'instanceof', 'interface', 'let', 'new', 'of', 'package', 'private', 'protected', 'public', 'return', 'set', 'static', 'super', 'switch', 'throw', 'try', 'var', 'while', 'with', 'yield', 'yield*'], true),
- Exclude checks
Line exceeds 120 characters; contains 190 characters Open
Open
new Pattern(130, 'constant', 'null|undefined|Infinity|NaN|true|false|Math\.[A-Z][A-Z0-9_]*' . (isset($this->options['disableConstants']) && $this->options['disableConstants']
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
Open
: '|[A-Z][A-Z0-9\\\\_\\x7f-\\xff]*|[\\\\\\x7f-\\xff_][A-Z0-9\\\\_\\x7f-\\xff]*[A-Z][A-Z0-9\\\\_\\x7f-\\xff]*'), true),
- Exclude checks