Skip to content

Fix HtmlRenderer to handle FriendlyException attribute safely #738

Fix HtmlRenderer to handle FriendlyException attribute safely

Fix HtmlRenderer to handle FriendlyException attribute safely #738

Triggered via pull request April 17, 2025 10:07
Status Failure
Total duration 2m 12s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

6 errors
psalm / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
MixedOperand: src/Renderer/HtmlRenderer.php#L517
src/Renderer/HtmlRenderer.php:517:33: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)
ArgumentTypeCoercion: src/Renderer/HtmlRenderer.php#L513
src/Renderer/HtmlRenderer.php:513:67: ArgumentTypeCoercion: Argument 1 of ReflectionClass::getAttributes expects class-string|null, but parent type 'Yiisoft\\FriendlyException\\Attribute\\FriendlyException' provided (see https://psalm.dev/193)
psalm / PHP 8.1-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_3" failed
psalm / PHP 8.4-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_3" failed
psalm / PHP 8.2-ubuntu-latest
The strategy configuration was canceled because "psalm.psalm.ubuntu-latest_8_3" failed