Passed
Push — main ( e2b544...6cad5d )
by Slawomir
05:02
created
Tags/Domain/Repository/TagsPostEventsHandlingRepositoryInterface.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 CreateNewTagsPostHeaderDto $newPostHeader
13 13
      */
14
-   public function createPostHeader(CreateNewTagsPostHeaderDto $newPostHeader): void;
14
+    public function createPostHeader(CreateNewTagsPostHeaderDto $newPostHeader): void;
15 15
 
16 16
     /**
17 17
      * @param UpdateExistingTagsPostHeaderDto $updatedPostHeader
18 18
      */
19
-   public function updatePostHeader(UpdateExistingTagsPostHeaderDto $updatedPostHeader): void;
19
+    public function updatePostHeader(UpdateExistingTagsPostHeaderDto $updatedPostHeader): void;
20 20
 
21 21
     /**
22 22
      * @param DeleteExistingTagsPostHeaderDto $deletedPostHeader
23 23
      */
24
-   public function deletePostHeader(DeleteExistingTagsPostHeaderDto $deletedPostHeader): void;
24
+    public function deletePostHeader(DeleteExistingTagsPostHeaderDto $deletedPostHeader): void;
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
Posts/Persistence/Doctrine/Transactions/DoctrinePostTransactionFactory.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 "posts";
27 27
     }
Please login to merge, or discard this patch.
Posts/Persistence/Doctrine/Repository/DoctrinePostsDeletionRepository.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
      * @param DeleteExistingPostDto $dto
15 15
      */
16
-   public function deletePost(DeleteExistingPostDto $dto): void
16
+    public function deletePost(DeleteExistingPostDto $dto): void
17 17
     {
18 18
         $em = $this->getEntityManager();
19 19
         $em
Please login to merge, or discard this patch.
Posts/Persistence/Doctrine/Repository/DoctrinePostsUpdatingRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * @param UpdateExistingPostDto $dto
14 14
      */
15
-   public function updatePost(UpdateExistingPostDto $dto): void
15
+    public function updatePost(UpdateExistingPostDto $dto): void
16 16
     {
17 17
 
18 18
         $this->getEntityManager()
Please login to merge, or discard this patch.
src/Modules/Posts/Domain/Repository/PostsCreationRepositoryInterface.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 CreateNewPostDto $newPost
12 12
      * @return Ulid - id of the new Post
13 13
      */
14
-   public function createPost(CreateNewPostDto $newPost): Ulid;
14
+    public function createPost(CreateNewPostDto $newPost): Ulid;
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Posts/Domain/Repository/PostsUpdatingRepositoryInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
     /**
10 10
      * @param UpdateExistingPostDto $dto
11 11
      */
12
-   public function updatePost(UpdateExistingPostDto $dto): void;
12
+    public function updatePost(UpdateExistingPostDto $dto): void;
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Posts/Domain/Repository/PostsDeletionRepositoryInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
     /**
10 10
      * @param DeleteExistingPostDto $dto
11 11
      */
12
-   public function deletePost(DeleteExistingPostDto $dto): void;
12
+    public function deletePost(DeleteExistingPostDto $dto): void;
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Posts/Api/PostsApiInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,39 +21,39 @@
 block discarded – undo
21 21
      * @param CreatePostCommand $command
22 22
      * @return CreatePostCommandResponse
23 23
      */
24
-   public function createPost(CreatePostCommand $command): CreatePostCommandResponse;
24
+    public function createPost(CreatePostCommand $command): CreatePostCommandResponse;
25 25
 
26 26
     /**
27 27
      * @param UpdatePostCommand $command
28 28
      */
29
-   public function updatePost(UpdatePostCommand $command): void;
29
+    public function updatePost(UpdatePostCommand $command): void;
30 30
 
31 31
     /**
32 32
      * @param DeletePostCommand $command
33 33
      */
34
-   public function deletePost(DeletePostCommand $command): void;
34
+    public function deletePost(DeletePostCommand $command): void;
35 35
 
36 36
     /**
37 37
      * @param FindAllPostsQuery $query
38 38
      * @return Page<FindPostQueryResponse>
39 39
      */
40
-   public function findAllPosts(FindAllPostsQuery $query): Page;
40
+    public function findAllPosts(FindAllPostsQuery $query): Page;
41 41
 
42 42
     /**
43 43
      * @param FindPostByIdQuery $query
44 44
      * @return FindPostQueryResponse|null
45 45
      */
46
-   public function findPostById(FindPostByIdQuery $query): ?FindPostQueryResponse;
46
+    public function findPostById(FindPostByIdQuery $query): ?FindPostQueryResponse;
47 47
 
48 48
     /**
49 49
      * @param CommentCreatedPostsIEvent $event
50 50
      */
51
-   public function onCommentCreated(CommentCreatedPostsIEvent $event): void;
51
+    public function onCommentCreated(CommentCreatedPostsIEvent $event): void;
52 52
 
53 53
     /**
54 54
      * @param CommentsBaselinedPostsIEvent $event
55 55
      */
56
-   public function onCommentsBaselined(CommentsBaselinedPostsIEvent $event): void;
56
+    public function onCommentsBaselined(CommentsBaselinedPostsIEvent $event): void;
57 57
 
58 58
     /**
59 59
      * @param BaselinePostsCommand $command
Please login to merge, or discard this patch.
src/Infrastructure/Transactions/TransactionInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
  */
9 9
 interface TransactionInterface
10 10
 {
11
-   public function afterCommit($func): self;
11
+    public function afterCommit($func): self;
12 12
 
13
-   public function afterRollback($func): self;
13
+    public function afterRollback($func): self;
14 14
 
15
-   public function execute(): mixed;
15
+    public function execute(): mixed;
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.