Test Setup Failed
Push — master ( ac281b...979859 )
by Alexey
04:58 queued 02:46
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/Service/Telegram/MessageSender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     ): bool
100 100
     {
101 101
         $sendMessage = new SendMessage();
102
-        $sendMessage->chat_id = (string)$chatId;
102
+        $sendMessage->chat_id = (string) $chatId;
103 103
         $sendMessage->text = $text;
104 104
         $sendMessage->parse_mode = $parseMode;
105 105
         $sendMessage->disable_web_page_preview = $disableWebPreview;
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Controller/MainController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      *
70 70
      * @param string $login
71 71
      *
72
-     * @return JsonResponse
72
+     * @return \Symfony\Component\HttpFoundation\Response
73 73
      */
74 74
     public function searchUserAjaxAction(string $login, UserRepository $userRepository): Response
75 75
     {
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
     /**
154
-     * @param Post $post
154
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post $post
155 155
      * @param string[] $tagsStrings
156 156
      */
157 157
     private function updatePostTags(Post $post, array $tagsStrings): void
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     }
196 196
 
197 197
     /**
198
-     * @param Post $post
198
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post $post
199 199
      * @param array $urls
200 200
      */
201 201
     private function updatePostFiles(Post $post, array $urls): void
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/SubscriptionsManager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param User $user
39
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\User $user
40 40
      * @param User[] $newSubscribersList
41 41
      */
42 42
     public function updateUserSubscribers(User $user, $newSubscribersList = []): void
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param User $user
90
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\User $user
91 91
      * @param User[] $subscribers
92 92
      */
93 93
     private function processSubscribedUsers(User $user, array $subscribers): void
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param User $user
111
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\User $user
112 112
      * @param User[] $subscribers
113 113
      */
114 114
     private function processUnsubscribedUsers(User $user, array $subscribers): void
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param User $user
131
+     * @param \Skobkin\Bundle\PointToolsBundle\Entity\User $user
132 132
      * @param User[] $subscribed
133 133
      * @param User[] $unsubscribed
134 134
      */
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
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $user = $userRepository->findUserByLogin($login);
37 37
 
38 38
         if (!$user) {
39
-            throw $this->createNotFoundException('User ' . $login . ' not found.');
39
+            throw $this->createNotFoundException('User '.$login.' not found.');
40 40
         }
41 41
 
42 42
         $subscriberEventsPagination = $paginator->paginate(
Please login to merge, or discard this patch.