libs/compiler/src/Printer/Value/PhpLanguageInjection.php
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
Open
<?php
- Exclude checks
Possible parse error: class missing opening or closing brace Open
Open
final class PhpLanguageInjection extends LanguageInjection
- Exclude checks
Possible parse error: class missing opening or closing brace Open
Open
final class PhpLanguageInjection extends LanguageInjection
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private function getCodeBody(Style $style): string
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
public function print(PrinterInterface $printer): string
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private const TPL_CODE_INJECTION = '// The "%s" variable is an auto-generated';
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private const CODE_INJECTIONS = [
- Exclude checks