Test Setup Failed
Push — master ( 988ac3...faa7b9 )
by Alexey
02:21
created
src/Skobkin/Bundle/PointToolsBundle/Service/Markdown/PointParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
         $ext = $matches[2];
174 174
 
175 175
         return $this->hashPart('<a href="'.$url.'" class="post-image '
176
-            .('gif' === $ext ? ' img-gif':'').'"><img src="'.$url.'" class="img-thumbnail" alt="Inline image"></a>');
176
+            .('gif' === $ext ? ' img-gif' : '').'"><img src="'.$url.'" class="img-thumbnail" alt="Inline image"></a>');
177 177
     }
178 178
 
179 179
     protected function doAnchorsPointUsernameCallback($matches)
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Controller/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $user = $em->getRepository('SkobkinPointToolsBundle:User')->findUserByLogin($login);
25 25
 
26 26
         if (!$user) {
27
-            throw $this->createNotFoundException('User ' . $login . ' not found.');
27
+            throw $this->createNotFoundException('User '.$login.' not found.');
28 28
         }
29 29
 
30 30
         $paginator = $this->get('knp_paginator');
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Command/ImportUsersCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,13 +96,13 @@
 block discarded – undo
96 96
             }
97 97
 
98 98
             if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) {
99
-                $output->writeln('@' . $row[1] . ' added');
99
+                $output->writeln('@'.$row[1].' added');
100 100
             }
101 101
 
102 102
             $count++;
103 103
         }
104 104
 
105
-        $output->writeln($count . ' users imported.');
105
+        $output->writeln($count.' users imported.');
106 106
 
107 107
         return 0;
108 108
     }
Please login to merge, or discard this patch.
Skobkin/Bundle/PointToolsBundle/Repository/SubscriptionEventRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     {
102 102
         $qb = $this->createQueryBuilder('se');
103 103
 
104
-        $rows =  $qb
104
+        $rows = $qb
105 105
             ->select([
106 106
                 'NEW Skobkin\Bundle\PointToolsBundle\DTO\DailyEvents(DAY(se.date), COUNT(se))',
107 107
                 'DAY(se.date) as day',
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/Telegram/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
         return $this->lastName;
155 155
     }
156 156
 
157
-    public function setLastName(?string $lastName = null): Account
157
+    public function setLastName(?string $lastName = null) : Account
158 158
     {
159 159
         $this->lastName = $lastName;
160 160
 
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         return $this->name;
135 135
     }
136 136
 
137
-    public function updateLoginAndName(string $login, ?string $name): self
137
+    public function updateLoginAndName(string $login, ?string $name) : self
138 138
     {
139 139
         $this->login = $login;
140 140
         $this->name = $name;
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         return $this->updatedAt;
196 196
     }
197 197
 
198
-    public function updatePrivacy(?bool $public, ?bool $whitelistOnly): void
198
+    public function updatePrivacy(?bool $public, ?bool $whitelistOnly) : void
199 199
     {
200 200
         $this->public = $public;
201 201
         $this->whitelistOnly = $whitelistOnly;
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Comment.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         return $this->postId;
46 46
     }
47 47
 
48
-    public function setPostId(?string $postId): void
48
+    public function setPostId(?string $postId) : void
49 49
     {
50 50
         $this->postId = $postId;
51 51
     }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         return $this->number;
56 56
     }
57 57
 
58
-    public function setNumber(?int $number): void
58
+    public function setNumber(?int $number) : void
59 59
     {
60 60
         $this->number = $number;
61 61
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         return $this->toCommentId;
66 66
     }
67 67
 
68
-    public function setToCommentId(?int $toCommentId): void
68
+    public function setToCommentId(?int $toCommentId) : void
69 69
     {
70 70
         $this->toCommentId = $toCommentId;
71 71
     }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         return $this->created;
76 76
     }
77 77
 
78
-    public function setCreated(?string $created): void
78
+    public function setCreated(?string $created) : void
79 79
     {
80 80
         $this->created = $created;
81 81
     }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         return $this->text;
86 86
     }
87 87
 
88
-    public function setText(?string $text): void
88
+    public function setText(?string $text) : void
89 89
     {
90 90
         $this->text = $text;
91 91
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         return $this->author;
96 96
     }
97 97
 
98
-    public function setAuthor(?User $author): void
98
+    public function setAuthor(?User $author) : void
99 99
     {
100 100
         $this->author = $author;
101 101
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         return $this->isRec;
111 111
     }
112 112
 
113
-    public function setIsRec(?bool $isRec): void
113
+    public function setIsRec(?bool $isRec) : void
114 114
     {
115 115
         $this->isRec = $isRec;
116 116
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/MetaPost.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         return $this->post;
21 21
     }
22 22
 
23
-    public function setPost(?Post $post): void
23
+    public function setPost(?Post $post) : void
24 24
     {
25 25
         $this->post = $post;
26 26
     }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @return Comment[]|null
30 30
      */
31
-    public function getComments(): ?array
31
+    public function getComments(): ? array
32 32
     {
33 33
         return $this->comments;
34 34
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param Comment[]|null $comments
38 38
      */
39
-    public function setComments(?array $comments): void
39
+    public function setComments(? array $comments) : void
40 40
     {
41 41
         $this->comments = $comments;
42 42
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Auth.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         return $this->token;
26 26
     }
27 27
 
28
-    public function setToken(?string $token): void
28
+    public function setToken(?string $token) : void
29 29
     {
30 30
         $this->token = $token;
31 31
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         return $this->csRfToken;
36 36
     }
37 37
 
38
-    public function setCsRfToken(?string $csRfToken): void
38
+    public function setCsRfToken(?string $csRfToken) : void
39 39
     {
40 40
         $this->csRfToken = $csRfToken;
41 41
     }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         return $this->error;
46 46
     }
47 47
 
48
-    public function setError(?string $error): void
48
+    public function setError(?string $error) : void
49 49
     {
50 50
         $this->error = $error;
51 51
     }
Please login to merge, or discard this patch.