SonarQube MAJOR CODE_SMELL: Remove this deprecated "name" attribute. #954

Closed
opened 2026-10-02 10:59:12 -05:00 by forgejo-actions · 1 comment

SonarQube issue detected.

SonarQube key: 3928b2e1-4303-4927-bbe9-3fc3c542a6c0
Severity: MAJOR
Type: CODE_SMELL
Location: myvideogamelist:resources/views/users/profile/show.blade.php:126
Message: Remove this deprecated "name" attribute.

https://sonarqube.linuxbox.ninja/project/issues?id=myvideogamelist&issues=3928b2e1-4303-4927-bbe9-3fc3c542a6c0&open=3928b2e1-4303-4927-bbe9-3fc3c542a6c0

SonarQube issue detected. **SonarQube key:** `3928b2e1-4303-4927-bbe9-3fc3c542a6c0` **Severity:** `MAJOR` **Type:** `CODE_SMELL` **Location:** `myvideogamelist:resources/views/users/profile/show.blade.php:126` **Message:** Remove this deprecated "name" attribute. https://sonarqube.linuxbox.ninja/project/issues?id=myvideogamelist&issues=3928b2e1-4303-4927-bbe9-3fc3c542a6c0&open=3928b2e1-4303-4927-bbe9-3fc3c542a6c0 <!-- sonarqube:issue:3928b2e1-4303-4927-bbe9-3fc3c542a6c0 -->
Codex self-assigned this 2026-10-02 15:57:00 -05:00
Member

Moved the inline Blade conditional outside the profile statistics anchor tag. SonarQube previously treated a later form field name as an anchor attribute (its reported range spanned lines 126-278). Profile and friendship tests pass. Implemented in PR #957. Pint and PHPStan pass; Forgejo CI and the post-merge SonarQube scan are pending. Leaving this issue open until merge.

Moved the inline Blade conditional outside the profile statistics anchor tag. SonarQube previously treated a later form field name as an anchor attribute (its reported range spanned lines 126-278). Profile and friendship tests pass. Implemented in PR #957. Pint and PHPStan pass; Forgejo CI and the post-merge SonarQube scan are pending. Leaving this issue open until merge.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MyVideoGameList/myvideogamelist.com#954
No description provided.