ischenko/yii2-jsloader-systemjs

View on GitHub

Showing 28 of 28 total issues

Doc-block of setExports contains declared return type static which is incompatible with the return type \ischenko\yii2\jsloader\ModuleInterface declared in the signature
Open

     * @return $this
Severity: Minor
Found in src/systemjs/Module.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\systemjs\Module::setOptions()
Open

    public function setOptions(array $options): ModuleInterface
Severity: Minor
Found in src/systemjs/Module.php by phan

Possibly zero write references to public property \ischenko\yii2\jsloader\SystemJs->minimal
Open

    public $minimal = false;
Severity: Minor
Found in src/SystemJs.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\systemjs\InlineRenderer::renderJsExpression()
Open

    public function renderJsExpression(JsExpression $expression): string
Severity: Minor
Found in src/systemjs/InlineRenderer.php by phan

Call with 1 arg(s) to \ischenko\yii2\jsloader\systemjs\Module::__construct() which only takes 0 arg(s) defined at /code/src/systemjs/Module.php:20
Open

            $module = new Module($module);
Severity: Info
Found in src/systemjs/Config.php by phan

Doc-block of setOptions contains declared return type static which is incompatible with the return type \ischenko\yii2\jsloader\ModuleInterface declared in the signature
Open

     * @return $this
Severity: Minor
Found in src/systemjs/Module.php by phan

Returning type ?int but getPosition() is declared to return int
Open

        return $position;
Severity: Minor
Found in src/SystemJs.php by phan

Possibly zero references to protected method \ischenko\yii2\jsloader\SystemJs::renderJs()
Open

    protected function renderJs(array $expressions): void
Severity: Minor
Found in src/SystemJs.php by phan
Severity
Category
Status
Source
Language