Passed
Push — main ( e2b544...6cad5d )
by Slawomir
05:02
created
tests/TestUtils/Events/InMemoryEventPublisher.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
     {
39 39
         $result = [];
40 40
         foreach (InMemoryEventPublisher::$publishedEvents
41
-                     ->filter(function ($event) use ($eventClass) {
42
-                         return $event::class == $eventClass;
43
-                     })
44
-                     ->toArray() as $event) {
41
+                        ->filter(function ($event) use ($eventClass) {
42
+                            return $event::class == $eventClass;
43
+                        })
44
+                        ->toArray() as $event) {
45 45
             array_push($result, $event);
46 46
         }
47 47
         return $result;
Please login to merge, or discard this patch.
Persistence/Doctrine/Transactions/DoctrineCommentsTransactionFactory.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 "comments";
27 27
     }
Please login to merge, or discard this patch.
Doctrine/Repository/DoctrineCommentsPostsEventsHandlingRepository.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @param CreateNewCommentsPostHeaderDto $newPostHeader
17 17
      */
18
-   public function createPostHeader(CreateNewCommentsPostHeaderDto $newPostHeader): void
18
+    public function createPostHeader(CreateNewCommentsPostHeaderDto $newPostHeader): void
19 19
     {
20 20
         $post = new CommentPostHeader();
21 21
         $post->setId($newPostHeader->getId());
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param UpdateExistingCommentsPostHeaderDto $updatedPostHeader
35 35
      */
36
-   public function updatePostHeader(UpdateExistingCommentsPostHeaderDto $updatedPostHeader): void
36
+    public function updatePostHeader(UpdateExistingCommentsPostHeaderDto $updatedPostHeader): void
37 37
     {
38 38
         $this->getEntityManager()
39 39
             ->createQueryBuilder()
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @param DeleteExistingCommentsPostHeaderDto $deletedPostHeader
57 57
      * @throws \Doctrine\ORM\ORMException
58 58
      */
59
-   public function deletePostHeader(DeleteExistingCommentsPostHeaderDto $deletedPostHeader): void
59
+    public function deletePostHeader(DeleteExistingCommentsPostHeaderDto $deletedPostHeader): void
60 60
     {
61 61
         $entityManager = $this->getEntityManager();
62 62
         $entityManager
Please login to merge, or discard this patch.
Domain/Repository/CommentsPostsEventsHandlingRepositoryInterface.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 CreateNewCommentsPostHeaderDto $newPostHeader
13 13
      */
14
-   public function createPostHeader(CreateNewCommentsPostHeaderDto $newPostHeader): void;
14
+    public function createPostHeader(CreateNewCommentsPostHeaderDto $newPostHeader): void;
15 15
 
16 16
     /**
17 17
      * @param UpdateExistingCommentsPostHeaderDto $updatedPostHeader
18 18
      */
19
-   public function updatePostHeader(UpdateExistingCommentsPostHeaderDto $updatedPostHeader): void;
19
+    public function updatePostHeader(UpdateExistingCommentsPostHeaderDto $updatedPostHeader): void;
20 20
 
21 21
     /**
22 22
      * @param DeleteExistingCommentsPostHeaderDto $deletedPostHeader
23 23
      */
24
-   public function deletePostHeader(DeleteExistingCommentsPostHeaderDto $deletedPostHeader): void;
24
+    public function deletePostHeader(DeleteExistingCommentsPostHeaderDto $deletedPostHeader): void;
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
Persistence/Doctrine/Transactions/DoctrineSecurityTransactionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
 
19
-   public function getManagerName(): string
19
+    public function getManagerName(): string
20 20
     {
21 21
         return "security";
22 22
     }
Please login to merge, or discard this patch.
Security/Persistence/Doctrine/Repository/DoctrineUserCreationRepository.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
      * @param CreateNewUserDto $newUser
14 14
      * @return Ulid
15 15
      */
16
-   public function createUser(CreateNewUserDto $newUser): Ulid
16
+    public function createUser(CreateNewUserDto $newUser): Ulid
17 17
     {
18 18
         $user = new User();
19 19
         $user->setEmail($newUser->getLogin());
Please login to merge, or discard this patch.
src/Modules/Security/Domain/Logic/JWTSecurityListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * @param JWTCreatedEvent $event
32 32
      */
33
-   public function onJwtCreated(JWTCreatedEvent $event): void
33
+    public function onJwtCreated(JWTCreatedEvent $event): void
34 34
     {
35 35
         $payload = $event->getData();
36 36
         $user = $this->loggedInUserProvider->getUser();
Please login to merge, or discard this patch.
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.