Skip to content

fix: remove redundant $dimensionsString block#72

Open
piyush140104 wants to merge 1 commit intodevsecopsmaturitymodel:mainfrom
piyush140104:fix/remove-depreciated-dimensionsString-block
Open

fix: remove redundant $dimensionsString block#72
piyush140104 wants to merge 1 commit intodevsecopsmaturitymodel:mainfrom
piyush140104:fix/remove-depreciated-dimensionsString-block

Conversation

@piyush140104
Copy link

Description

Removed lines 166-174 in yaml-generation/generateDimensions.php. The variable $dimensionsString was computed and post processed but never used anywhere after line 174. The actual variable that stores the model.yaml content is $modelString which is what gets saved to the file. Lines 166-174 were doing the exact same post processing as lines 186-193 but for a variable that was never written to any file.

Reviewers

@vbakke

Closes

Issue number: #71

@vbakke
Copy link
Collaborator

vbakke commented Mar 24, 2026

Being a security app we would like all contribution to be signed.

Could you set up a GPG key, like described in CONTRIBUTING.md, please @piyush140104 ?

@piyush140104 piyush140104 force-pushed the fix/remove-depreciated-dimensionsString-block branch from d3fa844 to 14e0945 Compare March 25, 2026 07:56
@piyush140104
Copy link
Author

Done @vbakke, commits are now GPG signed. Please let me know if anything else is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants