Showing 179 of 179 total issues
Cannot modify read-only magic property \JsPhpize\Nodes\Parenthesis->separator
defined at /code/src/JsPhpize/Nodes/Parenthesis.php:9
Open
Open
$this->separator = $separator;
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseParentheses
Open
Open
$keyword->setValue($this->parseParentheses($keyword->type === 'for' ? [';', 'in'] : [',', ';']));
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseKeyword
Open
Open
return $this->parseKeyword($token);
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseTernary
Open
Open
$value = $this->parseTernary($value);
- Exclude checks
Assigning null
to property but \JsPhpize\Lexer\Lexer->tokenGenerator
is \Generator|\Generator<\JsPhpize\Lexer\Token>
Open
Open
$this->tokenGenerator = null;
- 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\Variable->name
defined at /code/src/JsPhpize/Nodes/Variable.php:8
Open
Open
$this->name = $name;
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseFunction
Open
Open
return $this->parseFunction();
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseValue
Open
Open
return $this->parseValue($token);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Attribute
(\Attribute)
Open
Open
use Attribute;
- Exclude checks
Argument 1 (node)
is \JsPhpize\Nodes\Assignable
but \JsPhpize\Compiler\Compiler::visitNode()
takes \JsPhpize\Nodes\Node
defined at /code/src/JsPhpize/Compiler/Compiler.php:306
Open
Open
$this->visitNode($assignation->leftHand, $indent),
- Exclude checks
Only variables can be passed by reference at argument 1 of \extract()
Open
Open
extract(array_merge($this->sharedVariables, $variables));
- Exclude checks
Yield statement has a value with type false
but lexWith()
is declared to yield values of type \JsPhpize\Lexer\Token
in \Generator<\JsPhpize\Lexer\Token>
Open
Open
yield $lexer->scan($this->regex, $this->type);
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open
Open
return $this->valueToken('newline', $matches);
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::consume
Open
Open
$this->consume($matches[0]);
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Assignation->leftHand
defined at /code/src/JsPhpize/Nodes/Assignation.php:10
Open
Open
$this->leftHand = $leftHand;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\Assignation->rightHand
defined at /code/src/JsPhpize/Nodes/Assignation.php:11
Open
Open
$this->rightHand = $rightHand;
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\FunctionCall->arguments
defined at /code/src/JsPhpize/Nodes/FunctionCall.php:11
Open
Open
$this->arguments = $arguments;
- 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