Passed
Push — main ( 6d7bd8...b9bb24 )
by Slawomir
04:03
created
src/Modules/Security/Domain/Logic/UserCreator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param CreateUserCommand $command
35 35
      * @return CreateUserCommandResponse
36 36
      */
37
-   public function createUser(CreateUserCommand $command): CreateUserCommandResponse
37
+    public function createUser(CreateUserCommand $command): CreateUserCommandResponse
38 38
     {
39 39
         $this->validator->preCreateUser($command);
40 40
         $newUser = $this->fromCommand($command);
Please login to merge, or discard this patch.
Modules/Security/Domain/Provider/SymfonyDatabaseLoggedInUserProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @return LoggedInUser
24 24
      */
25
-   public function getUser(): LoggedInUser
25
+    public function getUser(): LoggedInUser
26 26
     {
27 27
         $user = $this->security->getUser();
28 28
         if ($user == null) {
Please login to merge, or discard this patch.
Security/Domain/Repository/UserPostHeadersFindingRepositoryInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * @return array<UserPostHeaderDto>
15 15
      */
16
-   public function findPostHeaders(): array;
16
+    public function findPostHeaders(): array;
17 17
 
18 18
     /**
19 19
      * @return Page<UserPostHeaderDto>
Please login to merge, or discard this patch.
src/Modules/Security/Domain/Repository/UserCreationRepositoryInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
      * @param CreateNewUserDto $newUser
12 12
      * @return Ulid
13 13
      */
14
-   public function createUser(CreateNewUserDto $newUser): Ulid;
14
+    public function createUser(CreateNewUserDto $newUser): Ulid;
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
Domain/Repository/SecurityPostEventsHandlingRepositoryInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
     /**
12 12
      * @param CreateNewUserPostHeaderDto $newPostHeader
13 13
      */
14
-   public function createPostHeader(CreateNewUserPostHeaderDto $newPostHeader): void;
14
+    public function createPostHeader(CreateNewUserPostHeaderDto $newPostHeader): void;
15 15
 
16 16
     /**
17 17
      * @param UpdateExistingUserPostHeaderDto $updatedPostHeader
18 18
      */
19
-   public function updatePostHeader(UpdateExistingUserPostHeaderDto $updatedPostHeader): void;
19
+    public function updatePostHeader(UpdateExistingUserPostHeaderDto $updatedPostHeader): void;
20 20
 
21 21
     /**
22 22
      * @param DeleteExistingUserPostHeaderDto $deletedPostHeader
23 23
      */
24
-   public function deletePostHeader(DeleteExistingUserPostHeaderDto $deletedPostHeader): void;
24
+    public function deletePostHeader(DeleteExistingUserPostHeaderDto $deletedPostHeader): void;
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Security/Api/SecurityApiInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,27 +21,27 @@
 block discarded – undo
21 21
      * @param CreateUserCommand $command
22 22
      * @return CreateUserCommandResponse
23 23
      */
24
-   public function createUser(CreateUserCommand $command): CreateUserCommandResponse;
24
+    public function createUser(CreateUserCommand $command): CreateUserCommandResponse;
25 25
 
26 26
     /**
27 27
      * @param PostCreatedSecurityIEvent $event
28 28
      */
29
-   public function onPostCreated(PostCreatedSecurityIEvent $event): void;
29
+    public function onPostCreated(PostCreatedSecurityIEvent $event): void;
30 30
 
31 31
     /**
32 32
      * @param PostUpdatedSecurityIEvent $event
33 33
      */
34
-   public function onPostUpdated(PostUpdatedSecurityIEvent $event): void;
34
+    public function onPostUpdated(PostUpdatedSecurityIEvent $event): void;
35 35
 
36 36
     /**
37 37
      * @param PostDeletedSecurityIEvent $event
38 38
      */
39
-   public function onPostDeleted(PostDeletedSecurityIEvent $event): void;
39
+    public function onPostDeleted(PostDeletedSecurityIEvent $event): void;
40 40
 
41 41
     /**
42 42
      * @param CommentsCountUpdatedSecurityIEvent $event
43 43
      */
44
-   public function onCommentsCountUpdated(CommentsCountUpdatedSecurityIEvent $event): void;
44
+    public function onCommentsCountUpdated(CommentsCountUpdatedSecurityIEvent $event): void;
45 45
 
46 46
     /**
47 47
      * @return array<FindUserPostHeadersQueryResponse>
Please login to merge, or discard this patch.
src/Modules/Security/Api/Controller/SecurityQueryController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * @return Response
29 29
      */
30 30
     #[Route('/{userId}', methods: ['GET'])]
31
-   public function getPostsByUserId(string $userId, Request $request): Response
31
+    public function getPostsByUserId(string $userId, Request $request): Response
32 32
     {
33 33
         $pageNo = $request->query->get("pageNo", "1");
34 34
         return $this->json(
Please login to merge, or discard this patch.
Tags/Persistence/Doctrine/Transactions/DoctrineTagsTransactionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @return string
23 23
      */
24
-   public function getManagerName(): string
24
+    public function getManagerName(): string
25 25
     {
26 26
         return "tags";
27 27
     }
Please login to merge, or discard this patch.
Doctrine/Repository/DoctrineTagsPostHeadersFindingRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * @return array<TagsPostHeaderDto>
15 15
      */
16
-   public function findPostHeaders(): array
16
+    public function findPostHeaders(): array
17 17
     {
18 18
         $headerClass = TagPostHeader::class;
19 19
         $dtoClass = TagsPostHeaderDto::class;
Please login to merge, or discard this patch.