Showing 179 of 179 total issues
Cannot modify read-only magic property \JsPhpize\Nodes\Dyiade->after
defined at /code/src/JsPhpize/Nodes/Value.php:9
Open
Open
$this->after = $after;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Instruction->instructions
defined at /code/src/JsPhpize/Nodes/Instruction.php:8
Open
Open
$this->instructions[] = $instruction;
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseParentheses
Open
Open
$keyword->setValue($this->parseParentheses($keyword->type === 'for' ? [';', 'in'] : [',', ';']));
- 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\Lexer\Scanner->engine
Open
Open
if ($this->engine->getOption('ignoreDollarVariable') && mb_substr($matches[0], 0, 1) === '$') {
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Block->inInstruction
defined at /code/src/JsPhpize/Nodes/Block.php:11
Open
Open
$this->inInstruction = false;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Block->value
defined at /code/src/JsPhpize/Nodes/Block.php:8
Open
Open
$this->value = $value;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Constant->type
defined at /code/src/JsPhpize/Nodes/Constant.php:11
Open
Open
$this->type = $type;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Variable->name
defined at /code/src/JsPhpize/Nodes/Variable.php:8
Open
Open
$this->name = $name;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Attribute
(\Attribute)
Open
Open
use Attribute;
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
(Did you mean $options) Open
Open
$this->options['patterns'] = [
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::consume
Open
Open
$this->consume($matches[0]);
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open
Open
return $this->valueToken('keyword', $matches);
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Constant->value
defined at /code/src/JsPhpize/Nodes/Constant.php:10
Open
Open
$this->value = $value;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Dyiade->operator
defined at /code/src/JsPhpize/Nodes/Dyiade.php:10
Open
Open
$this->operator = $operator;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Ternary->condition
defined at /code/src/JsPhpize/Nodes/Ternary.php:8
Open
Open
$this->condition = $condition;
- Exclude checks
Argument 2 (leftHand)
is \JsPhpize\Nodes\Dyiade|\JsPhpize\Nodes\DynamicValue|\JsPhpize\Nodes\FunctionCall|\JsPhpize\Nodes\Node|\JsPhpize\Nodes\Value|\JsPhpize\Readable
but \JsPhpize\Nodes\Assignation::__construct()
takes \JsPhpize\Nodes\Assignable
defined at /code/src/JsPhpize/Nodes/Assignation.php:40
Open
Open
$value = new Assignation($token->type, $value, $valueToAssign);
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open
Open
return $this->valueToken('variable', $matches);
- Exclude checks