Completed
Push — develop ( f37ae4...1d947e )
by Nate
18:30
created
src/cp/actions/fields/CreateItem.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\base\ElementInterface;
13
-use flipbox\hubspot\fields\Resources;
13
+use flipbox\ember\actions\traits\Manage;
14 14
 use flipbox\hubspot\HubSpot;
15
+use flipbox\hubspot\fields\Resources;
15 16
 use flipbox\hubspot\records\ResourceAssociation;
16
-use flipbox\ember\actions\traits\Manage;
17 17
 use yii\base\Action;
18 18
 use yii\web\HttpException;
19 19
 
Please login to merge, or discard this patch.
src/cp/actions/fields/PerformAction.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @param SObjectActionInterface $action
61
-     * @param SObjects $field
61
+     * @param \flipbox\hubspot\fields\Resources $field
62 62
      * @param ElementInterface $element
63 63
      * @return mixed
64 64
      * @throws \yii\web\UnauthorizedHttpException
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 use craft\base\ElementInterface;
12 12
 use flipbox\ember\actions\traits\Manage;
13
-use flipbox\force\fields\actions\SObjectActionInterface;
14
-use flipbox\force\fields\SObjects;
15 13
 use flipbox\force\Force;
14
+use flipbox\force\fields\SObjects;
15
+use flipbox\force\fields\actions\SObjectActionInterface;
16 16
 use yii\base\Action;
17 17
 use yii\web\HttpException;
18 18
 
Please login to merge, or discard this patch.
src/cp/actions/fields/PerformItemAction.php 2 patches
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
     /**
65 65
      * @param SObjectRowActionInterface $action
66
-     * @param SObjects $field
66
+     * @param \flipbox\hubspot\fields\Resources $field
67 67
      * @param ElementInterface $element
68 68
      * @param SObjectCriteria $criteria
69 69
      * @return mixed
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use craft\base\ElementInterface;
12 12
 use flipbox\ember\actions\traits\Manage;
13
+use flipbox\force\Force;
13 14
 use flipbox\force\criteria\SObjectCriteria;
14
-use flipbox\force\fields\actions\SObjectRowActionInterface;
15 15
 use flipbox\force\fields\SObjects;
16
-use flipbox\force\Force;
16
+use flipbox\force\fields\actions\SObjectRowActionInterface;
17 17
 use yii\base\Action;
18 18
 use yii\web\HttpException;
19 19
 
Please login to merge, or discard this patch.
src/criteria/BaseCriteria.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,15 +8,15 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\criteria;
10 10
 
11
+use Psr\SimpleCache\CacheInterface;
12
+use flipbox\ember\helpers\ObjectHelper;
11 13
 use flipbox\hubspot\HubSpot;
14
+use flipbox\hubspot\connections\ConnectionInterface;
15
+use flipbox\hubspot\helpers\TransformerHelper;
12 16
 use flipbox\hubspot\services\Cache;
13 17
 use flipbox\hubspot\services\Connections;
14 18
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
15
-use flipbox\ember\helpers\ObjectHelper;
16
-use flipbox\hubspot\connections\ConnectionInterface;
17
-use flipbox\hubspot\helpers\TransformerHelper;
18 19
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19
-use Psr\SimpleCache\CacheInterface;
20 20
 use yii\base\BaseObject;
21 21
 
22 22
 /**
Please login to merge, or discard this patch.
src/fields/Resources.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 use craft\base\ElementInterface;
13 13
 use craft\base\Field;
14 14
 use craft\elements\db\ElementQueryInterface;
15
+use flipbox\ember\helpers\ModelHelper;
16
+use flipbox\ember\validators\MinMaxValidator;
17
+use flipbox\hubspot\HubSpot;
15 18
 use flipbox\hubspot\criteria\CompanyCriteria;
16 19
 use flipbox\hubspot\criteria\ContactCriteria;
17 20
 use flipbox\hubspot\criteria\ResourceCriteria;
18 21
 use flipbox\hubspot\criteria\ResourceCriteriaInterface;
19 22
 use flipbox\hubspot\db\ResourceAssociationQuery;
20
-use flipbox\hubspot\HubSpot;
21 23
 use flipbox\hubspot\records\ResourceAssociation;
22 24
 use flipbox\hubspot\services\resources\Companies;
23 25
 use flipbox\hubspot\services\resources\Contacts;
24
-use flipbox\ember\helpers\ModelHelper;
25
-use flipbox\ember\validators\MinMaxValidator;
26 26
 
27 27
 /**
28 28
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/HubSpot.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 use craft\events\RegisterComponentTypesEvent;
8 8
 use craft\services\Fields;
9 9
 use craft\services\Plugins;
10
+use flipbox\craft\psr3\Logger;
11
+use flipbox\ember\modules\LoggerTrait;
10 12
 use flipbox\hubspot\fields\Resources;
11 13
 use flipbox\hubspot\models\Settings as SettingsModel;
12 14
 use flipbox\hubspot\patron\Events;
13
-use flipbox\craft\psr3\Logger;
14
-use flipbox\ember\modules\LoggerTrait;
15 15
 use yii\base\Event;
16 16
 
17 17
 /**
Please login to merge, or discard this patch.
src/patron/connections/traits/AccessTokenAuthorizationTrait.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\patron\connections\traits;
10 10
 
11
-use craft\helpers\ArrayHelper;
12
-use flipbox\patron\Patron;
13 11
 use Flipbox\Skeleton\Helpers\JsonHelper;
14 12
 use League\OAuth2\Client\Token\AccessToken;
15 13
 use Psr\Http\Message\RequestInterface;
16 14
 use Psr\Http\Message\ResponseInterface;
15
+use craft\helpers\ArrayHelper;
16
+use flipbox\patron\Patron;
17 17
 
18 18
 /**
19 19
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/services/ResourceAssociations.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @param $source
188
+     * @param string $source
189 189
      * @param int $fieldId
190 190
      * @param int $siteId
191 191
      * @return array
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
 use craft\base\ElementInterface;
12 12
 use craft\errors\ElementNotFoundException;
13 13
 use craft\helpers\Json;
14
-use flipbox\hubspot\db\ResourceAssociationQuery;
15
-use flipbox\hubspot\fields\Resources;
16
-use flipbox\hubspot\HubSpot;
17
-use flipbox\hubspot\records\ResourceAssociation;
18 14
 use flipbox\craft\sortable\associations\db\SortableAssociationQueryInterface;
19 15
 use flipbox\craft\sortable\associations\records\SortableAssociationInterface;
20 16
 use flipbox\craft\sortable\associations\services\SortableAssociations;
21 17
 use flipbox\ember\services\traits\records\Accessor;
22 18
 use flipbox\ember\validators\MinMaxValidator;
19
+use flipbox\hubspot\HubSpot;
20
+use flipbox\hubspot\db\ResourceAssociationQuery;
21
+use flipbox\hubspot\fields\Resources;
22
+use flipbox\hubspot\records\ResourceAssociation;
23 23
 
24 24
 /**
25 25
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/services/resources/traits/DeleteFromElementTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources\traits;
10 10
 
11
+use League\Pipeline\PipelineBuilderInterface;
11 12
 use craft\base\Element;
12 13
 use craft\base\ElementInterface;
13 14
 use flipbox\hubspot\criteria\ResourceCriteriaInterface;
14 15
 use flipbox\hubspot\fields\Resources;
15 16
 use flipbox\hubspot\helpers\TransformerHelper;
16
-use League\Pipeline\PipelineBuilderInterface;
17 17
 
18 18
 /**
19 19
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.