Test Setup Failed
Push — master ( 845097...013fb3 )
by Alexey
02:53
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.
src/Skobkin/Bundle/PointToolsBundle/Service/Telegram/MessageSender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         bool $disableNotifications = false
96 96
     ): bool {
97 97
         $sendMessage = new SendMessage();
98
-        $sendMessage->chat_id = (string)$chatId;
98
+        $sendMessage->chat_id = (string) $chatId;
99 99
         $sendMessage->text = $text;
100 100
         $sendMessage->parse_mode = $parseMode;
101 101
         $sendMessage->disable_web_page_preview = $disableWebPreview;
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/Blogs/Post.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
         return $this->createdAt;
154 154
     }
155 155
 
156
-    public function getUpdatedAt(): ?\DateTime
156
+    public function getUpdatedAt(): ? \DateTime
157 157
     {
158 158
         return $this->updatedAt;
159 159
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
     /**
213 213
      * @return Comment
214 214
      */
215
-    public function getParent(): ?Comment
215
+    public function getParent(): ? Comment
216 216
     {
217 217
         return $this->parent;
218 218
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/Telegram/Account.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -165,12 +165,12 @@  discard block
 block discarded – undo
165 165
         return $this;
166 166
     }
167 167
 
168
-    public function getLastName(): ?string
168
+    public function getLastName(): ? string
169 169
     {
170 170
         return $this->lastName;
171 171
     }
172 172
 
173
-    public function setLastName(?string $lastName = null): Account
173
+    public function setLastName(? string $lastName = null) : Account
174 174
     {
175 175
         $this->lastName = $lastName;
176 176
 
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
         return $this->chatId;
202 202
     }
203 203
 
204
-    public function getUser(): ?User
204
+    public function getUser(): ? User
205 205
     {
206 206
         return $this->user;
207 207
     }
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Repository/Blogs/PostRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $this->getEntityManager()->persist($entity);
14 14
     }
15 15
 
16
-    public function getPostWithComments(string $postId): ?Post
16
+    public function getPostWithComments(string $postId): ? Post
17 17
     {
18 18
         /** @var QueryBuilder $qb */
19 19
         $qb = $this->createQueryBuilder('p');
Please login to merge, or discard this patch.