Skip to content

Add braces

Add braces #1626

Triggered via push June 19, 2026 14:31
Status Success
Total duration 25s
Artifacts

mago.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
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/
possibly-invalid-array-access: classes/models/fields/FrmFieldUserID.php#L71
Cannot perform array access on value of type `int`. >The expression might be `int` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldUserID.php#L71
Cannot perform array access on value of type `object`. >The expression might be `object` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/controllers/FrmFormsController.php#L1483
Cannot perform array access on value of type `bool`. >The expression might be `bool` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/controllers/FrmFormsController.php#L1483
Cannot perform array access on value of type `bool`. >The expression might be `bool` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/controllers/FrmFormsController.php#L1401
Cannot perform array access on value of type `bool`. >The expression might be `bool` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldTextarea.php#L106
Cannot perform array access on value of type `object`. >The expression might be `object` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldTextarea.php#L101
Cannot perform array access on value of type `int`. >The expression might be `int` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldTextarea.php#L101
Cannot perform array access on value of type `object`. >The expression might be `object` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldNumber.php#L126
Cannot perform array access on value of type `int`. >The expression might be `int` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
possibly-invalid-array-access: classes/models/fields/FrmFieldNumber.php#L125
Cannot perform array access on value of type `int`. >The expression might be `int` here. Attempting to use a scalar value as an array will result in a runtime error. Help: Ensure the variable holds an array before accessing it.
loop-does-not-iterate: paypal/controllers/FrmPayPalLiteActionsController.php#L672
Loop is unconditionally terminated and will not iterate. >This loop will only execute once at most >The loop is exited by this unconditional `return` statement Loops that do not iterate are often misleading and can indicate a logic error or redundant code. Help: Consider refactoring the code. If the loop is intended to run only once, an `if` statement might be clearer.
loop-does-not-iterate: classes/views/frm-fields/front-end/product-single.php#L18
Loop is unconditionally terminated and will not iterate. >This loop will only execute once at most >The loop is exited by this unconditional `break` statement Loops that do not iterate are often misleading and can indicate a logic error or redundant code. Help: Consider refactoring the code. If the loop is intended to run only once, an `if` statement might be clearer.