Skip to content

Depreciated code: $dimensionsString block is never used #71

@piyush140104

Description

@piyush140104

Description

While reading the code in yaml-generation/generateDimensions.php, I noticed that $dimensionsString is created and processed in lines 166-174 but is never actually used anywhere after that.The main variable that stores our model.yaml content is $modelString which is what gets saved to the file on line 197 not $dimensionsString.

Fix

Lines 166-174 can be safely deleted. The output will remain exactly the same.

How I verified

Searched for $dimensionsString across all files it only exists within those dead lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions