Skip to content

Add unsaved changes popup to global settings #1766

Add unsaved changes popup to global settings

Add unsaved changes popup to global settings #1766

Triggered via push July 22, 2026 16:45
Status Failure
Total duration 18s
Artifacts

mago.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 1 notice
Mago
Process completed with exit code 1.
impossible-assignment: classes/models/FrmGatedItem.php#L116
Invalid assignment: the right-hand side has type `never` and cannot produce a value. >Cannot assign a `never` type value here An expression with type `never` is guaranteed to exit, throw, or loop indefinitely. Help: This assignment is unreachable because the right-hand side never completes. Remove the assignment or refactor the preceding code.
invalid-clone: classes/models/FrmGatedItem.php#L116
Invalid `clone` operation on non-cloneable type `(WP_Post|array<array-key, mixed>|null)&array<int|string, mixed>&WP_Post&null`. >This expression is not an object The `clone` operator can only be used on objects. This will cause a fatal `Error`. Help: Remove the `clone` operator or ensure the expression evaluates to a cloneable object instance.
Mago
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4.1.1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
impossible-null-type-comparison: classes/controllers/FrmStylesController.php#L1542
Impossible condition: variable `frmstylescontroller::$post_type` (type `string`) will always be `null`. >This condition always evaluates to false Variable `frmstylescontroller::$post_type` (type `string`) is already known to be `null`, so asserting it's not `null` is impossible. Help: The condition checking if `frmstylescontroller::$post_type` is not `null` will always be false. Review the variable's state or condition.
redundant-cast: classes/models/FrmGatedItem.php#L120
Redundant cast to `(string)`: the expression already has this type. >This expression already has type `string`. Casting a value to a type it already possesses has no effect. Help: Remove the redundant `(string)` cast.