Completed
Push — master ( 464782...4147e3 )
by Ricardo
01:46
created
src/Connectors/Gitlab/Import.php 2 patches
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Gitlab;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-use Fabrica\Models\Code\Project;
8
-use Fabrica\Bundle\CoreBundle\EventDispatcher\FabricaEvents;
9 5
 use Fabrica\Bundle\CoreBundle\EventDispatcher\Event\ProjectEvent;
6
+use Fabrica\Models\Code\Project;
10 7
 
11 8
 /**
12 9
  * https://github.com/GitLabPHP/Client/blob/9.18/lib/Gitlab/Api/Projects.php
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
         $this->projects($output);
19 19
     }
20 20
     
21
+    /**
22
+     * @param boolean $output
23
+     */
21 24
     public function projects($output)
22 25
     {
23 26
         $projects = $this->_connection->api('projects')->all(
Please login to merge, or discard this patch.
src/Http/Controllers/Webhook/StoreController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 namespace Integrations\Http\Controllers\Webhook;
5 5
 
6 6
 
7
-use Integrations\Http\Controllers\Controller;
8 7
 use BotMan\BotMan\BotMan;
8
+use Integrations\Http\Controllers\Controller;
9 9
 
10 10
 class StoreController extends Controller
11 11
 {
Please login to merge, or discard this patch.
src/Connectors/Twitter/DatumboxAPI.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Parses the API Reply
54 54
      * 
55
-     * @param mixed $jsonreply
55
+     * @param string $jsonreply
56 56
      * 
57 57
      * @return mixed
58 58
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Twitter;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class DatumboxAPI
9 6
 {
10 7
     const version='1.0';
Please login to merge, or discard this patch.
src/Services/LdapService.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * Get the details of a user from LDAP using the given username.
81 81
      * User found via configurable user filter.
82 82
      *
83
-     * @param  $userName
83
+     * @param  string $userName
84 84
      * @return array|null
85 85
      * @throws LdapException
86 86
      */
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * Bind the system user to the LDAP connection using the given credentials
155 155
      * otherwise anonymous access is attempted.
156 156
      *
157
-     * @param  $connection
157
+     * @param  resource $connection
158 158
      * @throws LdapException
159 159
      */
160 160
     protected function bindSystemUser($connection)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Services;
4 4
 
5
-use Porteiro\Models\Role;
6 5
 use App\Models\User;
7 6
 use Illuminate\Contracts\Auth\Authenticatable;
8 7
 use Illuminate\Database\Eloquent\Builder;
9 8
 use Integrations\Exceptions\LdapException;
10 9
 use Integrations\Models\Access;
11 10
 use Integrations\Models\UserRepo;
11
+use Porteiro\Models\Role;
12 12
 
13 13
 /**
14 14
  * Class LdapService
Please login to merge, or discard this patch.
src/Traits/Access.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Check if any operations are allowed for a Crud Panel. Return false if not.
55 55
      *
56
-     * @param array $operation_array
56
+     * @param boolean $operation_array
57 57
      *
58 58
      * @return bool
59 59
      */
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Check if all operations are allowed for a Crud Panel. Return false if not.
73 73
      *
74
-     * @param array $operation_array Permissions.
74
+     * @param string $operation_array Permissions.
75 75
      *
76 76
      * @return bool
77 77
      */
Please login to merge, or discard this patch.
src/Http/Controllers/RiCa/WebServicos/TokenController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Http\Controllers\RiCa\WebServicos;
4 4
 
5
-use Illuminate\Http\Request;
6
-use Integrations\Exceptions\Exception;
7 5
 use Integrations\Http\Controllers\Controller as Base;
8 6
 use Integrations\Models\Token;
9 7
 // use Pedreiro\Http\Controllers\Admin\Base;
10
-use Yajra\Datatables\Datatables;
11 8
 
12 9
 class TokenController extends Base
13 10
 {
Please login to merge, or discard this patch.
src/Connectors/Connector.php 2 patches
Unused Use Statements   +3 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,18 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6 5
 use Log;
7
-use App\Models\User;
8 6
 
9
-use Integrations\Models\Token;
10
-use Support\Components\Coders\Parser\ParseClass;
11
-use Muleta\Utils\Debugger\ErrorHelper;
12
-use Integrations\Models\Integration as IntegrationModel;
13
-use ReflectionGenerator;
14 7
 use Exception;
15
-use Muleta\Utils\Extratores\ClasserExtractor;
8
+use Integrations\Models\Integration as IntegrationModel;
16 9
 use Muleta\Contracts\Output\OutputableTrait;
10
+use Muleta\Utils\Debugger\ErrorHelper;
11
+use Muleta\Utils\Extratores\ClasserExtractor;
17 12
 
18 13
 class Connector
19 14
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -71,6 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * Recupera dados em cima de um get de uma api
74
+     * @param string $path
74 75
      */
75 76
     public function get($path)
76 77
     {
Please login to merge, or discard this patch.
src/Connectors/ExactSales/Create.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Pipedrive;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Create extends Pipedrive
9 6
 {
10 7
     public function project(Project $project)
Please login to merge, or discard this patch.
src/Connectors/ExactSales/Update.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Pipedrive;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Update extends Pipedrive
9 6
 {
10 7
     public function organization(Organization $organization)
Please login to merge, or discard this patch.