phplrt/phplrt

View on GitHub
libs/compiler/src/Printer/Value/PhpLanguageInjection.php

Summary

Maintainability
A
0 mins
Test Coverage

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 31 and the first side effect is on line 12.
Open

<?php

Possible parse error: class missing opening or closing brace
Open

final class PhpLanguageInjection extends LanguageInjection

Possible parse error: class missing opening or closing brace
Open

final class PhpLanguageInjection extends LanguageInjection

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 0 spaces, found 4
Open

    private function getCodeBody(Style $style): string

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function print(PrinterInterface $printer): string

Line indented incorrectly; expected 0 spaces, found 4
Open

    private const TPL_CODE_INJECTION = '// The "%s" variable is an auto-generated';

Line indented incorrectly; expected 0 spaces, found 4
Open

    private const CODE_INJECTIONS = [

There are no issues that match your filters.

Category
Status