Skip to content

Fix HashSyntax rubocop offence in project_import_proposals_form.rb#15848

Merged
andreslucena merged 1 commit intodevelopfrom
fix/rubocop-offenses
Jan 7, 2026
Merged

Fix HashSyntax rubocop offence in project_import_proposals_form.rb#15848
andreslucena merged 1 commit intodevelopfrom
fix/rubocop-offenses

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu commented Dec 25, 2025

🎩 What? Why?

This is a fix for the link error in the develop pipeline, introduced by #15630

📌 Related Issues

Link your PR to an issue

Testing

Green pipeline

📷 Screenshots

Please add screenshots of the changes you are proposing
Description

♥️ Thank you!

@github-actions github-actions bot added module: budgets type: fix PRs that implement a fix for a bug labels Dec 25, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a RuboCop offense by updating hash syntax to use Ruby's hash value omission feature (shorthand syntax) where a hash key and variable name are identical.

  • Updates token: token to token: on line 41 to comply with Style/HashSyntax rule configured with EnforcedShorthandSyntax: always

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alecslupu alecslupu added the no-backport Pull Requests that should not be backported label Jan 7, 2026
@alecslupu alecslupu requested a review from andreslucena January 7, 2026 09:53
@andreslucena andreslucena changed the title Fix rubocop offences Fix HashSyntax rubocop offence in project_import_proposals_form.rb Jan 7, 2026
@andreslucena andreslucena merged commit 8e6e76a into develop Jan 7, 2026
48 of 50 checks passed
@andreslucena andreslucena deleted the fix/rubocop-offenses branch January 7, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: budgets no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants