Skip to content

feat: expand css subset support in mvp renderer #1

feat: expand css subset support in mvp renderer

feat: expand css subset support in mvp renderer #1

Triggered via push May 27, 2026 21:25
Status Failure
Total duration 17s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
psalm
Process completed with exit code 2.
PossiblyNullArgument: src/Layout/LinearLayoutEngine.php#L39
src/Layout/LinearLayoutEngine.php:39:64: PossiblyNullArgument: Argument 1 of LibreSign\XObjectTemplate\Layout\LinearLayoutEngine::toPoints cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Layout/LinearLayoutEngine.php#L38
src/Layout/LinearLayoutEngine.php:38:41: PossiblyNullArgument: Argument 1 of LibreSign\XObjectTemplate\Layout\LinearLayoutEngine::toPoints cannot be null, possibly null value provided (see https://psalm.dev/078)
TypeDoesNotContainType: src/Html/SubsetHtmlParser.php#L82
src/Html/SubsetHtmlParser.php:82:44: TypeDoesNotContainType: Cannot resolve types for $node->textContent with type string and !isset assertion (see https://psalm.dev/056)
RedundantCondition: src/Html/SubsetHtmlParser.php#L82
src/Html/SubsetHtmlParser.php:82:22: RedundantCondition: Type string for $node->textContent is always isset (see https://psalm.dev/122)
PossiblyNullIterator: src/Html/SubsetHtmlParser.php#L56
src/Html/SubsetHtmlParser.php:56:22: PossiblyNullIterator: Cannot iterate over nullable var DOMNamedNodeMap|null (see https://psalm.dev/097)
psalm
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/