Failed Conditions
Push — master ( 834fcc...5d8bf2 )
by Maximo
02:52 queued 02:02
created
src/Mapper/CustomFieldsMapper.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 class CustomFieldsMapper extends CustomMapper
12 12
 {
13 13
     /**
14
-     * @param Canvas\Models\FileSystem $file
15
-     * @param Canvas\Dto\Files $fileDto
16 14
      * @return Files
17 15
      */
18 16
     public function mapToObject($customField, $customFieldDto, array $context = [])
Please login to merge, or discard this patch.
src/Mapper/CustomFilterMapper.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 {
13 13
     /**
14 14
      * @param Baka\Database\CustomFilters\CustomFilters $filter
15
-     * @param \Canvas\Dto\CustomFilter $filterSchema
16 15
      * @return ListSchema
17 16
      */
18 17
     public function mapToObject($filter, $customFilter, array $context = [])
Please login to merge, or discard this patch.
src/Mapper/FileMapper.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param Canvas\Models\FileSystem $file
32 31
      * @param Canvas\Dto\Files $fileDto
33 32
      * @return Files
34 33
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 
7 7
 use AutoMapperPlus\CustomMapper\CustomMapper;
8 8
 use Canvas\Dto\Files;
9
-use Canvas\Models\FileSystemEntities;
10 9
 
11 10
 // You can either extend the CustomMapper, or just implement the MapperInterface
12 11
 // directly.
Please login to merge, or discard this patch.
src/Mapper/ListSchemaMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @param SystemModules $systeModel
20 20
      * @param \Canvas\Dto\ListSchema $listSchema
21
-     * @return ListSchema
21
+     * @return \Canvas\Dto\ListSchema
22 22
      */
23 23
     public function mapToObject($systeModel, $listSchema, array $context = [])
24 24
     {
Please login to merge, or discard this patch.
src/Mapper/NotificationMapper.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 use AutoMapperPlus\CustomMapper\CustomMapper;
8 8
 use Canvas\Models\SystemModules;
9
-use ReflectionClass;
10 9
 use Exception;
10
+use ReflectionClass;
11 11
 
12 12
 // You can either extend the CustomMapper, or just implement the MapperInterface
13 13
 // directly.
Please login to merge, or discard this patch.
src/Mapper/UserMapper.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 namespace Canvas\Mapper;
6 6
 
7 7
 use AutoMapperPlus\CustomMapper\CustomMapper;
8
-use Canvas\Models\AccessList;
9
-use Phalcon\Di;
10 8
 use Canvas\Contracts\Mapper\RelationshipTrait;
9
+use Canvas\Models\AccessList;
11 10
 use Canvas\Models\Users;
11
+use Phalcon\Di;
12 12
 
13 13
 /**
14 14
  * Class UserMapper.
Please login to merge, or discard this patch.
src/Middleware/AclMiddleware.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,10 +4,9 @@
 block discarded – undo
4 4
 
5 5
 namespace Canvas\Middleware;
6 6
 
7
-use Phalcon\Mvc\Micro;
8
-use Canvas\Exception\ServerErrorHttpException;
9 7
 use Canvas\Exception\PermissionException;
10
-use Canvas\Models\Subscription;
8
+use Canvas\Exception\ServerErrorHttpException;
9
+use Phalcon\Mvc\Micro;
11 10
 
12 11
 /**
13 12
  * Class AclMiddleware.
Please login to merge, or discard this patch.
src/Middleware/AuthenticationMiddleware.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 namespace Canvas\Middleware;
6 6
 
7
-use Phalcon\Mvc\Micro;
8
-use Canvas\Exception\PermissionException;
9 7
 use Baka\Auth\Models\Sessions;
10
-use Canvas\Models\Users;
11
-use Canvas\Exception\UnauthorizedHttpException;
12 8
 use Canvas\Constants\Flags;
9
+use Canvas\Exception\PermissionException;
10
+use Canvas\Exception\UnauthorizedHttpException;
11
+use Canvas\Models\Users;
12
+use Phalcon\Mvc\Micro;
13 13
 
14 14
 /**
15 15
  * Class AuthenticationMiddleware.
Please login to merge, or discard this patch.
src/Middleware/TokenBase.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,15 +4,14 @@
 block discarded – undo
4 4
 
5 5
 namespace Canvas\Middleware;
6 6
 
7
+use Canvas\Exception\SubscriptionPlanFailureException;
7 8
 use Canvas\Http\Request;
8
-use Canvas\Traits\TokenTrait;
9
+use Canvas\Models\Subscription;
9 10
 use Canvas\Traits\SubscriptionPlanLimitTrait;
10
-use Phalcon\Mvc\Micro\MiddlewareInterface;
11
-use Canvas\Exception\UnauthorizedHttpException;
12
-use Canvas\Exception\SubscriptionPlanFailureException;
13
-use Phalcon\Mvc\Micro;
11
+use Canvas\Traits\TokenTrait;
14 12
 use Phalcon\Http\RequestInterface;
15
-use Canvas\Models\Subscription;
13
+use Phalcon\Mvc\Micro;
14
+use Phalcon\Mvc\Micro\MiddlewareInterface;
16 15
 
17 16
 /**
18 17
  * Class AuthenticationMiddleware.
Please login to merge, or discard this patch.