pug-php/js-phpize

View on GitHub
src/JsPhpize/Nodes/Dyiade.php

Summary

Maintainability
A
35 mins
Test Coverage
A
100%

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($operator, Value $leftHand, Value $rightHand, array $before = null, array $after = null)
Severity: Minor
Found in src/JsPhpize/Nodes/Dyiade.php - About 35 mins to fix

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

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

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

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

    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\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\Dyiade->rightHand defined at /code/src/JsPhpize/Nodes/Dyiade.php:9
    Open

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

    There are no issues that match your filters.

    Category
    Status