Skip to content

Commit

Permalink
Require rector check
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and VincentLanglet committed Mar 29, 2022
1 parent f29e832 commit 0ec2e72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Command/Dispatcher/DispatchBranchesProtectionCommand.php
Expand Up @@ -168,6 +168,10 @@ private function buildRequiredStatusChecks(Project $project, Branch $branch): ar
$requiredStatusChecks[] = 'YML files';
}

if ($project->rector()) {
$requiredStatusChecks[] = 'Rector';
}

foreach ($branch->phpVersions() as $phpVersion) {
$requiredStatusChecks[] = sprintf(
'PHP %s + highest + normal',
Expand Down

0 comments on commit 0ec2e72

Please sign in to comment.