Test Setup Failed
Push — master ( 6c321a...49b039 )
by Alexey
02:27
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/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/Service/Api/AbstractApi.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * Make GET request and return response body
80
+     * @param string $path
80 81
      */
81 82
     public function getGetResponseBody($path, array $parameters = []): StreamInterface
82 83
     {
@@ -95,7 +96,7 @@  discard block
 block discarded – undo
95 96
      * @param string $path Request path
96 97
      * @param array $parameters Key => Value array of query parameters
97 98
      *
98
-     * @return ResponseInterface
99
+     * @return \Psr\Http\Message\ResponseInterface
99 100
      *
100 101
      * @throws NetworkException
101 102
      */
@@ -110,7 +111,7 @@  discard block
 block discarded – undo
110 111
      * @param string $path Request path
111 112
      * @param array $parameters Key => Value array of request data
112 113
      *
113
-     * @return ResponseInterface
114
+     * @return \Psr\Http\Message\ResponseInterface
114 115
      *
115 116
      * @throws NetworkException
116 117
      */
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.
src/Skobkin/Bundle/PointToolsBundle/DTO/Api/User.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         return $this->id;
81 81
     }
82 82
 
83
-    public function setId(?string $id): void
83
+    public function setId(?string $id) : void
84 84
     {
85 85
         $this->id = $id;
86 86
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return $this->login;
91 91
     }
92 92
 
93
-    public function setLogin(?string $login): void
93
+    public function setLogin(?string $login) : void
94 94
     {
95 95
         $this->login = $login;
96 96
     }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         return $this->name;
101 101
     }
102 102
     
103
-    public function setName(?string $name): void
103
+    public function setName(?string $name) : void
104 104
     {
105 105
         $this->name = $name;
106 106
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         return $this->about;
111 111
     }
112 112
 
113
-    public function setAbout(?string $about): void
113
+    public function setAbout(?string $about) : void
114 114
     {
115 115
         $this->about = $about;
116 116
     }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         return $this->xmpp;
121 121
     }
122 122
 
123
-    public function setXmpp(?string $xmpp): void
123
+    public function setXmpp(?string $xmpp) : void
124 124
     {
125 125
         $this->xmpp = $xmpp;
126 126
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         return $this->created;
131 131
     }
132 132
 
133
-    public function setCreated(?string $created): void
133
+    public function setCreated(?string $created) : void
134 134
     {
135 135
         $this->created = $created;
136 136
     }
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         return $this->gender;
141 141
     }
142 142
 
143
-    public function setGender(?bool $gender): void
143
+    public function setGender(?bool $gender) : void
144 144
     {
145 145
         $this->gender = $gender;
146 146
     }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         return $this->denyAnonymous;
151 151
     }
152 152
 
153
-    public function setDenyAnonymous(?bool $denyAnonymous): void
153
+    public function setDenyAnonymous(?bool $denyAnonymous) : void
154 154
     {
155 155
         $this->denyAnonymous = $denyAnonymous;
156 156
     }
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         return $this->private;
161 161
     }
162 162
 
163
-    public function setPrivate(?bool $private): void
163
+    public function setPrivate(?bool $private) : void
164 164
     {
165 165
         $this->private = $private;
166 166
     }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         return $this->birthDate;
171 171
     }
172 172
 
173
-    public function setBirthDate(?string $birthDate): void
173
+    public function setBirthDate(?string $birthDate) : void
174 174
     {
175 175
         $this->birthDate = $birthDate;
176 176
     }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         return $this->homepage;
181 181
     }
182 182
 
183
-    public function setHomepage(?string $homepage): void
183
+    public function setHomepage(?string $homepage) : void
184 184
     {
185 185
         $this->homepage = $homepage;
186 186
     }
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         return $this->email;
191 191
     }
192 192
 
193
-    public function setEmail(?string $email): void
193
+    public function setEmail(?string $email) : void
194 194
     {
195 195
         $this->email = $email;
196 196
     }
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         return $this->location;
201 201
     }
202 202
 
203
-    public function setLocation(?string $location): void
203
+    public function setLocation(?string $location) : void
204 204
     {
205 205
         $this->location = $location;
206 206
     }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         return $this->error;
211 211
     }
212 212
 
213
-    public function setError(?string $error): void
213
+    public function setError(?string $error) : void
214 214
     {
215 215
         $this->error = $error;
216 216
     }
Please login to merge, or discard this patch.