rector rules: apply rule with level 0

This commit is contained in:
2025-11-03 18:16:07 +01:00
parent 2ca88d786c
commit 6999919d9f
55 changed files with 98 additions and 65 deletions

View File

@@ -97,7 +97,7 @@ class PermissionsGroup
);
$countedIds = array_count_values($roleScopesId);
foreach ($countedIds as $id => $nb) {
foreach ($countedIds as $nb) {
if (1 < $nb) {
$context->buildViolation('A permission is already present '
.'for the same role and scope')