Skip to content

Add solution providers #223

Add solution providers

Add solution providers #223

Triggered via pull request July 28, 2025 18:42
@xepozzxepozz
synchronize #127
Status Success
Total duration 25s
Artifacts

rector.yml

on: pull_request_target
Matrix: rector / rector
Fit to window
Zoom out
Zoom in

Annotations

1 error
rector / PHP 8.4-ubuntu-latest: src/Renderer/HtmlRenderer.php#L109
ClassPropertyAssignToConstructorPromotionRector / ReadOnlyPropertyRector --- Original +++ New @@ -109,11 +109,6 @@ private ?array $vendorPaths = null; /** - * @var SolutionProviderInterface[] - */ - private array $solutionProviders; - - /** * @param array $settings (deprecated) Settings can have the following keys: * - template: string, full path of the template file for rendering exceptions without call stack information. * - verboseTemplate: string, full path of the template file for rendering exceptions with call stack information. @@ -144,7 +139,7 @@ ?int $maxSourceLines = null, ?int $maxTraceLines = null, ?string $traceHeaderLine = null, - array $solutionProviders = [] + private readonly array $solutionProviders = [] ) { $this->markdownParser = new GithubMarkdown(); $this->markdownParser->html5 = true; @@ -166,8 +161,6 @@ $this->traceHeaderLine = $traceHeaderLine ?? $settings['traceHeaderLine'] ?? null; - - $this->solutionProviders = $solutionProviders; } public function render(Throwable $t, ?ServerRequestInterface $request = null): ErrorData