Skip to content

Commit 0fb5690

Browse files
committed
feat: update codely coding standard to indent arrays
1 parent 5f4fc51 commit 0fb5690

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

apps/backoffice/frontend/src/Controller/Home/HomeGetWebController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ final class HomeGetWebController extends WebController
1313
public function __invoke(Request $request): Response
1414
{
1515
return $this->render('pages/home.html.twig', [
16-
'title' => 'Welcome',
17-
'description' => 'CodelyTV - Backoffice',
18-
]);
16+
'title' => 'Welcome',
17+
'description' => 'CodelyTV - Backoffice',
18+
]);
1919
}
2020

2121
protected function exceptions(): array

composer.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Shared/Infrastructure/Symfony/BasicHttpAuthMiddleware.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ private function askForCredentials(RequestEvent $event): void
5555
{
5656
$event->setResponse(
5757
new Response('', Response::HTTP_UNAUTHORIZED, [
58-
'WWW-Authenticate' => 'Basic realm="CodelyTV"',
59-
])
58+
'WWW-Authenticate' => 'Basic realm="CodelyTV"',
59+
])
6060
);
6161
}
6262
}

tests/Backoffice/Courses/Domain/BackofficeCourseCriteriaMother.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ public static function nameContains(string $text): Criteria
1616
return CriteriaMother::create(
1717
FiltersMother::createOne(
1818
FilterMother::fromValues([
19-
'field' => 'name',
20-
'operator' => 'CONTAINS',
21-
'value' => $text,
22-
])
19+
'field' => 'name',
20+
'operator' => 'CONTAINS',
21+
'value' => $text,
22+
])
2323
)
2424
);
2525
}

0 commit comments

Comments
 (0)