Skip to content

refactor: ECS code cleanup #1

refactor: ECS code cleanup

refactor: ECS code cleanup #1

Triggered via push January 18, 2025 18:53
Status Failure
Total duration 28s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan: src/fields/Units.php#L104
Variable $settings in PHPDoc tag @var does not exist.
PHPStan: src/fields/Units.php#L107
Access to an undefined property craft\base\Model::$defaultUnitsClass.
PHPStan: src/fields/Units.php#L107
Property nystudio107\units\fields\Units::$defaultUnitsClass (string) on left side of ?? is not nullable.
PHPStan: src/fields/Units.php#L108
Access to an undefined property craft\base\Model::$defaultValue.
PHPStan: src/fields/Units.php#L108
Property nystudio107\units\fields\Units::$defaultValue (float) on left side of ?? is not nullable.
PHPStan: src/fields/Units.php#L109
Access to an undefined property craft\base\Model::$defaultUnits.
PHPStan: src/fields/Units.php#L109
Property nystudio107\units\fields\Units::$defaultUnits (string) on left side of ?? is not nullable.
PHPStan: src/fields/Units.php#L110
Access to an undefined property craft\base\Model::$defaultChangeableUnits.
PHPStan: src/fields/Units.php#L110
Property nystudio107\units\fields\Units::$changeableUnits (bool) on left side of ?? is not nullable.
PHPStan: src/fields/Units.php#L111
Access to an undefined property craft\base\Model::$defaultMin.
Coding Standards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636