pug-php/js-phpize

View on GitHub

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

            $this->after = $after;
Severity: Minor
Found in src/JsPhpize/Nodes/Dyiade.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Instruction->instructions defined at /code/src/JsPhpize/Nodes/Instruction.php:8
Open

        $this->instructions[] = $instruction;
Severity: Minor
Found in src/JsPhpize/Nodes/Instruction.php by phan

Call to undeclared method \JsPhpize\Parser\TokenExtractor::parseParentheses
Open

            $keyword->setValue($this->parseParentheses($keyword->type === 'for' ? [';', 'in'] : [',', ';']));
Severity: Critical
Found in src/JsPhpize/Parser/TokenExtractor.php by phan

Reference to undeclared property \JsPhpize\JsPhpizeOptions->options (Did you mean $options)
Open

        $this->options = is_array($options) || $options instanceof ArrayAccess ? $options : [];
Severity: Minor
Found in src/JsPhpize/JsPhpizeOptions.php by phan

Reference to undeclared property \JsPhpize\JsPhpizeOptions->options (Did you mean $options)
Open

                new Pattern(130, 'constant', 'null|undefined|Infinity|NaN|true|false|Math\.[A-Z][A-Z0-9_]*' . (isset($this->options['disableConstants']) && $this->options['disableConstants']
Severity: Minor
Found in src/JsPhpize/JsPhpizeOptions.php by phan

Reference to undeclared property \JsPhpize\JsPhpizeOptions->options
Open

        $this->options['patterns'] = array_filter($this->options['patterns'], $removeFunction);
Severity: Minor
Found in src/JsPhpize/JsPhpizeOptions.php by phan

Reference to undeclared property \JsPhpize\Lexer\Scanner->engine
Open

        if ($this->engine->getOption('ignoreDollarVariable') && mb_substr($matches[0], 0, 1) === '$') {
Severity: Minor
Found in src/JsPhpize/Lexer/Scanner.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Block->inInstruction defined at /code/src/JsPhpize/Nodes/Block.php:11
Open

        $this->inInstruction = false;
Severity: Minor
Found in src/JsPhpize/Nodes/Block.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Block->value defined at /code/src/JsPhpize/Nodes/Block.php:8
Open

        $this->value = $value;
Severity: Minor
Found in src/JsPhpize/Nodes/Block.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Constant->type defined at /code/src/JsPhpize/Nodes/Constant.php:11
Open

        $this->type = $type;
Severity: Minor
Found in src/JsPhpize/Nodes/Constant.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Variable->name defined at /code/src/JsPhpize/Nodes/Variable.php:8
Open

        $this->name = $name;
Severity: Minor
Found in src/JsPhpize/Nodes/Variable.php by phan

Possibly zero references to use statement for classlike/namespace Attribute (\Attribute)
Open

use Attribute;

Reference to undeclared property \JsPhpize\JsPhpizeOptions->options (Did you mean $options)
Open

            $this->options['patterns'] = [
Severity: Minor
Found in src/JsPhpize/JsPhpizeOptions.php by phan

Call to undeclared method \JsPhpize\Lexer\Scanner::consume
Open

        $this->consume($matches[0]);
Severity: Critical
Found in src/JsPhpize/Lexer/Scanner.php by phan

Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open

        return $this->valueToken('keyword', $matches);
Severity: Critical
Found in src/JsPhpize/Lexer/Scanner.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Constant->value defined at /code/src/JsPhpize/Nodes/Constant.php:10
Open

        $this->value = $value;
Severity: Minor
Found in src/JsPhpize/Nodes/Constant.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Dyiade->operator defined at /code/src/JsPhpize/Nodes/Dyiade.php:10
Open

        $this->operator = $operator;
Severity: Minor
Found in src/JsPhpize/Nodes/Dyiade.php by phan

Cannot modify read-only magic property \JsPhpize\Nodes\Ternary->condition defined at /code/src/JsPhpize/Nodes/Ternary.php:8
Open

        $this->condition = $condition;
Severity: Minor
Found in src/JsPhpize/Nodes/Ternary.php by phan

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

                    $value = new Assignation($token->type, $value, $valueToAssign);
Severity: Minor
Found in src/JsPhpize/Parser/TokenExtractor.php by phan

Call to undeclared method \JsPhpize\Lexer\Scanner::valueToken
Open

        return $this->valueToken('variable', $matches);
Severity: Critical
Found in src/JsPhpize/Lexer/Scanner.php by phan
Severity
Category
Status
Source
Language