Skip to content

Conversation

@t2d
Copy link
Contributor

@t2d t2d commented Sep 4, 2025

Admin:
image

User:
image

@t2d t2d force-pushed the admin-delete-alias branch from 0b09a08 to 68a1088 Compare September 4, 2025 20:18
@t2d t2d marked this pull request as ready for review September 4, 2025 20:19
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2025

&& $isNotDeleted
&& $isRandom
&& $isOwner;
$alias = $subject; // already ensured to be Alias by supports()
Copy link
Member

Choose a reason for hiding this comment

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

SonarCloud complains when a method has more than three return statements...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If I try to refactor it with 3 or less, it only get's worse. Do you have a good idea?

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.

3 participants