Showing 179 of 179 total issues
Line exceeds 120 characters; contains 149 characters Open
Open
throw new Exception('Variables cannot start with ' . $varPrefix . ', this prefix is reserved for JsPhpize' . $this->exceptionInfos(), 4);
- Exclude checks
Line exceeds 120 characters; contains 157 characters Open
Open
return $this->isAssignation() || $this->isComparison() || $this->isArithmetic() || $this->isBinary() || $this->isLogical() || $this->isVarOperator();
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
throw new Exception("':' expected but " . ($next->value ?: $next->type) . ' given ' . $this->exceptionInfos(), 15);
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
while (
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open
Open
return $this->valueToken('number', $matches);
- Exclude checks
Call to undeclared method \JsPhpize\Nodes\Assignable::getReadVariables
Open
Open
method_exists($this->leftHand, 'getReadVariables') ? $this->leftHand->getReadVariables() : [],
- Exclude checks
Cannot modify read-only magic property \JsPhpize\Nodes\BracketsArray->data
defined at /code/src/JsPhpize/Nodes/ArrayBase.php:8
Open
Open
$this->data[] = [$key, $value];
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseBracketsArray
Open
Open
return $this->parseBracketsArray();
- Exclude checks
Call to undeclared method \JsPhpize\Compiler\InterpolationTrait::visitInstruction
Open
Open
yield rtrim($this->visitInstruction($parser->parse()->instructions[0], ''), ";\t\n\r\0\x0B ");
- Exclude checks
Only variables can be passed by reference at argument 1 of \extract()
Open
Open
extract(array_merge($this->sharedVariables, $variables));
- 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::exceptionInfos
Open
Open
throw new Exception('Constants cannot start with ' . $constPrefix . ', this prefix is reserved for JsPhpize' . $this->exceptionInfos(), 1);
- Exclude checks
Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseTernary
Open
Open
$value = $this->parseTernary($value);
- Exclude checks
TODO found Open
Open
// @TODO handle let scope here
- Exclude checks
Reference to undeclared property \JsPhpize\Nodes\Assignable->value
Open
Open
var_export(strval($assignation->leftHand->value), true) . ', ' .
- Exclude checks
Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
Open
Open
$this->options['patterns'][] = $pattern;
- 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
Cannot modify read-only magic property \JsPhpize\Nodes\Block->inInstruction
defined at /code/src/JsPhpize/Nodes/Block.php:11
Open
Open
$this->inInstruction = true;
- Exclude checks
Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open
Open
throw $this->unexpected($this->valueToken('token', $matches));
- Exclude checks