Completed
Push — master ( 1e5c0a...8d6de3 )
by Ricardo
04:14
created
src/Console/Commands/Sync/PackagesSync.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Console\Commands\Sync;
4 4
 
5
-use Illuminate\Console\Command;
6 5
 use Fabrica\Services\RepositoryFolderService;
6
+use Illuminate\Console\Command;
7 7
 
8 8
 class PackagesSync extends Command
9 9
 {
Please login to merge, or discard this patch.
src/FabricaProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
     /**
172 172
      * Get the services provided by the provider.
173 173
      *
174
-     * @return array
174
+     * @return string[]
175 175
      */
176 176
     public function provides()
177 177
     {
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -2,22 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica;
4 4
 
5
-use App;
6 5
 use Config;
7
-use Fabrica\Facades\Fabrica as FabricaFacade;
8 6
 use Fabrica\Services\FabricaService;
9
-use Illuminate\Contracts\Events\Dispatcher;
10 7
 
11
-use Illuminate\Foundation\AliasLoader;
12
-use Illuminate\Routing\Router;
13
-use Illuminate\Support\Collection;
14 8
 use Illuminate\Support\Facades\View;
15 9
 use Illuminate\Support\ServiceProvider;
16 10
 
17 11
 use Log;
18 12
 
19 13
 use Muleta\Traits\Providers\ConsoleTools;
20
-use Route;
21 14
 
22 15
 class FabricaProvider extends ServiceProvider
23 16
 {
Please login to merge, or discard this patch.
src/Helper/Email.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Helper;
4 4
 
5
-use Fabrica\Tools\Config;
6 5
 use Fabrica\Tools\Builder;
6
+use Fabrica\Tools\Config;
7 7
 
8 8
 /**
9 9
  * Helper class for sending emails using email configuration.
Please login to merge, or discard this patch.
src/Helper/MailerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Return a specific configuration value by key.
65 65
      *
66
-     * @param  $configName
66
+     * @param  string $configName
67 67
      * @return null|string
68 68
      */
69 69
     public function getMailConfig($configName)
Please login to merge, or discard this patch.
src/Helper/UrlParser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Helper;
4 4
 
5
-use Illuminate\Support\Facades\Request;
6
-
7 5
 class UrlParser
8 6
 {
9 7
 
Please login to merge, or discard this patch.
src/Models/Code/Message.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         return null !== $this->user;
104 104
     }
105 105
 
106
+    /**
107
+     * @param User $user
108
+     */
106 109
     public function setUser($user)
107 110
     {
108 111
         $this->user = $user;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 
17 17
 use Fabrica\Models\Code\Message\CloseMessage;
18 18
 use Fabrica\Models\Code\Message\CommitMessage;
19
-use Fabrica\Models\Code\Message\ForceMessage;
20 19
 
21 20
 /**
22 21
  * @author Julien DIDIER <[email protected]>
Please login to merge, or discard this patch.
src/Models/Code/User.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,6 @@
 block discarded – undo
316 316
     /**
317 317
      * Searches a user email by text.
318 318
      *
319
-     * @param string $email the email to search
320 319
      *
321 320
      * @return Email
322 321
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Fabrica\Models\Code;
14 14
 
15
-use Pedreiro\Models\Base;
16 15
 use Doctrine\Common\Collections\ArrayCollection;
16
+use Pedreiro\Models\Base;
17 17
 
18 18
 /**
19 19
  * User in Fabrica.
Please login to merge, or discard this patch.
src/Models/Infra/Ci/Build.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     protected $buildBranchDirectory;
65 65
 
66 66
     /**
67
-     * @return null|Project
67
+     * @return null|\PHPCensor\Model\Project
68 68
      *
69 69
      * @throws \PHPCensor\Exception\HttpException
70 70
      */
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,16 +2,16 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Models\Infra\Ci;
4 4
 
5
-use Fabrica\Tools\Builder;
6 5
 use Fabrica\Helper\Lang;
6
+use Fabrica\Models\Infra\Ci\Base\Build as BaseBuild;
7
+use Fabrica\Tools\Builder;
7 8
 use Fabrica\Tools\Plugin\PhpParallelLint;
9
+use Fabrica\Tools\Store\BuildErrorStore;
8 10
 use Fabrica\Tools\Store\Factory;
9 11
 use Fabrica\Tools\Store\ProjectStore;
10
-use Fabrica\Tools\Store\BuildErrorStore;
12
+use Pedreiro\Exceptions\InvalidArgumentException;
11 13
 use Symfony\Component\Filesystem\Filesystem;
12 14
 use Symfony\Component\Yaml\Parser as YamlParser;
13
-use Fabrica\Models\Infra\Ci\Base\Build as BaseBuild;
14
-use Pedreiro\Exceptions\InvalidArgumentException;
15 15
 
16 16
 /**
17 17
  * @author Ricardo Sierra <[email protected]>
Please login to merge, or discard this patch.
src/Models/Infra/Ci/Build/BitbucketBuild.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Models\Infra\Ci\Build;
4 4
 
5
-use GuzzleHttp\Client;
6
-use Fabrica\Tools\Builder;
7 5
 use Fabrica\Helper\Bitbucket;
8
-use Fabrica\Tools\Config;
6
+use Fabrica\Helper\Diff;
9 7
 use Fabrica\Models\Infra\Ci\Build;
10 8
 use Fabrica\Models\Infra\Ci\BuildError;
11
-use Fabrica\Helper\Diff;
9
+use Fabrica\Tools\Builder;
10
+use Fabrica\Tools\Config;
11
+use GuzzleHttp\Client;
12 12
 
13 13
 /**
14 14
  * BitBucket Build Model
Please login to merge, or discard this patch.