Test Failed
Branchmaster (10e90c)
by Alexey
03:40
created
src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * @param Input $input
39 39
      * @param Output $output
40
-     * @return bool
40
+     * @return false|null
41 41
      */
42 42
     protected function execute(InputInterface $input, OutputInterface $output)
43 43
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@
 block discarded – undo
116 116
 
117 117
         // Updating users subscribers
118 118
         foreach ($usersForUpdate as $user) {
119
-            $output->writeln('  Processing @' . $user->getLogin());
120
-            $log->info('Processing @' . $user->getLogin());
119
+            $output->writeln('  Processing @'.$user->getLogin());
120
+            $log->info('Processing @'.$user->getLogin());
121 121
 
122 122
             try {
123 123
                 $userCurrentSubscribers = $api->getUserSubscribersById($user->getId());
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Controller/PostController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Skobkin\Bundle\PointToolsBundle\Controller;
4 4
 
5 5
 use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post;
6
-use Skobkin\Bundle\PointToolsBundle\Service\UserApi;
7 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
9 8
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
     /**
371 371
      * Get children
372 372
      *
373
-     * @return ArrayCollection
373
+     * @return Comment[]
374 374
      */
375 375
     public function getChildren()
376 376
     {
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/FileFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param $url
63
+     * @param string $url
64 64
      *
65 65
      * @return File
66 66
      * @throws InvalidResponseException
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Creates posts and return status of new insertions
73 73
      *
74
-     * @param PostsPage $data
75 74
      *
76 75
      * @return bool
77 76
      * @throws ApiException
@@ -182,7 +181,6 @@  discard block
 block discarded – undo
182 181
 
183 182
     /**
184 183
      * @param Post $post
185
-     * @param Tag[] $tags
186 184
      */
187 185
     private function updatePostTags(Post $post, array $tagsStrings)
188 186
     {
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/TagFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param $text
63
+     * @param string $text
64 64
      *
65 65
      * @return Tag
66 66
      * @throws InvalidResponseException
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/Factory/UserFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param array $data
115
+     * @param UserDTO $data
116 116
      *
117 117
      * @throws InvalidResponseException
118 118
      */
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
@@ -91,12 +91,12 @@
 block discarded – undo
91 91
             }
92 92
 
93 93
             if ($output->isVerbose()) {
94
-                $output->writeln('@' . $row[1] . ' added');
94
+                $output->writeln('@'.$row[1].' added');
95 95
             }
96 96
 
97 97
             $count++;
98 98
         }
99 99
 
100
-        $output->writeln($count . ' users imported.');
100
+        $output->writeln($count.' users imported.');
101 101
     }
102 102
 }
103 103
\ No newline at end of file
Please login to merge, or discard this patch.
src/Skobkin/Bundle/PointToolsBundle/Service/AbstractApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,11 +156,11 @@
 block discarded – undo
156 156
     {
157 157
         // Overriding protocol
158 158
         if (!$useProtocol) {
159
-            $baseUrl = str_replace(['http://', 'https://',], ($this->useHttps) ? 'https://' : 'http://', $baseUrl);
159
+            $baseUrl = str_replace(['http://', 'https://', ], ($this->useHttps) ? 'https://' : 'http://', $baseUrl);
160 160
         }
161 161
         // Adding missing protocol
162 162
         if ((false === strpos(strtolower($baseUrl), 'http://')) && (false === strpos(strtolower($baseUrl), 'https://'))) {
163
-            $baseUrl = (($this->useHttps) ? 'https://' : 'http://') . $baseUrl;
163
+            $baseUrl = (($this->useHttps) ? 'https://' : 'http://').$baseUrl;
164 164
         }
165 165
 
166 166
         $this->client->setBaseUrl($baseUrl);
Please login to merge, or discard this patch.