Skip to content

Fix phpstan/phpstan#14413: Narrowing generic union via ::class comparison discards type parameters #1003

Fix phpstan/phpstan#14413: Narrowing generic union via ::class comparison discards type parameters

Fix phpstan/phpstan#14413: Narrowing generic union via ::class comparison discards type parameters #1003

Triggered via pull request March 31, 2026 15:40
@mhertmhert
ready_for_review #5366
Status Success
Total duration 24s
Artifacts

pr-marked-as-ready.yml

on: pull_request_target
Comment on pull request
14s
Comment on pull request
Fit to window
Zoom out
Zoom in

Annotations

1 warning
Comment on pull request
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043, step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e. 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/