Completed
Push — develop ( de31bd...3158f9 )
by Nate
20:35
created
src/queue/jobs/AbstractSyncElementJob.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Craft;
6 6
 use craft\base\ElementInterface;
7 7
 use craft\queue\BaseJob;
8
-use flipbox\hubspot\fields\Objects;
9 8
 use flipbox\hubspot\HubSpot;
9
+use flipbox\hubspot\fields\Objects;
10 10
 use yii\base\Component;
11 11
 use yii\base\InvalidConfigException;
12 12
 
Please login to merge, or discard this patch.
src/cp/actions/fields/CreateItem.php 1 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
 use craft\base\ElementInterface;
13 13
 use flipbox\ember\actions\traits\Manage;
14 14
 use flipbox\ember\helpers\SiteHelper;
15
-use flipbox\hubspot\fields\Objects;
16 15
 use flipbox\hubspot\HubSpot;
16
+use flipbox\hubspot\fields\Objects;
17 17
 use flipbox\hubspot\records\ObjectAssociation;
18 18
 use yii\base\Action;
19 19
 use yii\web\HttpException;
Please login to merge, or discard this patch.
src/transformers/elements/ObjectId.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,13 +8,13 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\transformers\elements;
10 10
 
11
+use Flipbox\Transform\Transformers\AbstractSimpleTransformer;
11 12
 use craft\base\Element;
12 13
 use craft\base\ElementInterface;
13 14
 use craft\helpers\Json;
14 15
 use flipbox\ember\helpers\SiteHelper;
15
-use flipbox\hubspot\fields\Objects;
16 16
 use flipbox\hubspot\HubSpot;
17
-use Flipbox\Transform\Transformers\AbstractSimpleTransformer;
17
+use flipbox\hubspot\fields\Objects;
18 18
 
19 19
 /**
20 20
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/criteria/traits/TransformerCollectionTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace flipbox\hubspot\criteria\traits;
10 10
 
11 11
 use flipbox\hubspot\helpers\TransformerHelper;
12
-use flipbox\hubspot\traits\TransformerResolverTrait;
13 12
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
14 13
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
15 14
 
Please login to merge, or discard this patch.
src/helpers/TransformerHelper.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\helpers;
10 10
 
11
+use Flipbox\Skeleton\Helpers\ObjectHelper;
12
+use Flipbox\Transform\Transformers\TransformerInterface;
11 13
 use flipbox\hubspot\HubSpot;
12 14
 use flipbox\hubspot\transformers\collections\TransformerCollection;
13 15
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
14
-use Flipbox\Skeleton\Helpers\ObjectHelper;
15
-use Flipbox\Transform\Transformers\TransformerInterface;
16 16
 
17 17
 /**
18 18
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/pipeline/Resource.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\pipeline;
10 10
 
11
-use flipbox\hubspot\HubSpot;
12
-use flipbox\hubspot\pipeline\pipelines\HttpPipeline;
13
-use flipbox\hubspot\pipeline\stages\TransformerCollectionStage;
14
-use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
15 11
 use Flipbox\Pipeline\Builders\BuilderTrait;
16 12
 use Flipbox\Skeleton\Object\AbstractObject;
17 13
 use League\Pipeline\PipelineBuilderInterface;
18 14
 use Psr\Log\LoggerInterface;
15
+use flipbox\hubspot\HubSpot;
16
+use flipbox\hubspot\pipeline\pipelines\HttpPipeline;
17
+use flipbox\hubspot\pipeline\stages\TransformerCollectionStage;
18
+use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19 19
 
20 20
 /**
21 21
  * A Relay pipeline builder intended to make building the Relay and Pipeline easier.
Please login to merge, or discard this patch.
src/services/resources/Limit.php 2 patches
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @param ConnectionInterface|string|null $connection
47
-     * @param CacheInterface|string|null $cache
46
+     * @param null|ConnectionInterface $connection
47
+     * @param null|CacheInterface $cache
48 48
      * @return callable
49 49
      * @throws \yii\base\InvalidConfigException
50 50
      */
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @param ConnectionInterface|string|null $connection
87
-     * @param CacheInterface|string|null $cache
88
-     * @param TransformerCollectionInterface|array|null $transformer
86
+     * @param null|ConnectionInterface $connection
87
+     * @param null|CacheInterface $cache
88
+     * @param null|TransformerCollectionInterface $transformer
89 89
      * @param null $source
90 90
      * @return mixed
91 91
      * @throws \yii\base\InvalidConfigException
@@ -119,9 +119,9 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @param ConnectionInterface|string|null $connection
123
-     * @param CacheInterface|string|null $cache
124
-     * @param TransformerCollectionInterface|array|null $transformer
122
+     * @param null|ConnectionInterface $connection
123
+     * @param null|CacheInterface $cache
124
+     * @param null|TransformerCollectionInterface $transformer
125 125
      * @return PipelineBuilderInterface
126 126
      * @throws \yii\base\InvalidConfigException
127 127
      */
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param ConnectionInterface|string|null $connection
166
-     * @param CacheInterface|string|null $cache
165
+     * @param null|ConnectionInterface $connection
166
+     * @param null|CacheInterface $cache
167 167
      * @return ResponseInterface
168 168
      * @throws \yii\base\InvalidConfigException
169 169
      */
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,19 +8,19 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources;
10 10
 
11
+use Flipbox\Relay\Builder\RelayBuilderInterface;
12
+use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read;
13
+use League\Pipeline\PipelineBuilderInterface;
14
+use Psr\Http\Message\ResponseInterface;
15
+use Psr\SimpleCache\CacheInterface;
16
+use flipbox\hubspot\HubSpot;
11 17
 use flipbox\hubspot\connections\ConnectionInterface;
12 18
 use flipbox\hubspot\criteria\IntegrationAccessorInterface;
13 19
 use flipbox\hubspot\helpers\CacheHelper;
14 20
 use flipbox\hubspot\helpers\ConnectionHelper;
15 21
 use flipbox\hubspot\helpers\TransformerHelper;
16
-use flipbox\hubspot\HubSpot;
17 22
 use flipbox\hubspot\pipeline\Resource;
18 23
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19
-use Flipbox\Relay\Builder\RelayBuilderInterface;
20
-use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read;
21
-use League\Pipeline\PipelineBuilderInterface;
22
-use Psr\Http\Message\ResponseInterface;
23
-use Psr\SimpleCache\CacheInterface;
24 24
 use yii\base\Component;
25 25
 
26 26
 /**
Please login to merge, or discard this patch.
src/services/resources/traits/SyncByElementTrait.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string $id
35
-     * @param ConnectionInterface|string|null $connection
36
-     * @param CacheInterface|string|null $cache
35
+     * @param null|ConnectionInterface $connection
36
+     * @param null|CacheInterface $cache
37 37
      * @return callable
38 38
      */
39 39
     public abstract function rawHttpReadRelay(
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @param array $payload
47 47
      * @param string|null $identifier
48
-     * @param ConnectionInterface|string|null $connection
49
-     * @param CacheInterface|string|null $cache
48
+     * @param null|ConnectionInterface $connection
49
+     * @param null|CacheInterface $cache
50 50
      * @return callable
51 51
      * @throws \yii\base\InvalidConfigException
52 52
      */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources\traits;
10 10
 
11
+use Psr\SimpleCache\CacheInterface;
11 12
 use craft\base\Element;
12 13
 use craft\base\ElementInterface;
14
+use flipbox\hubspot\HubSpot;
13 15
 use flipbox\hubspot\connections\ConnectionInterface;
14 16
 use flipbox\hubspot\fields\Objects;
15 17
 use flipbox\hubspot\helpers\ConnectionHelper;
16
-use flipbox\hubspot\HubSpot;
17 18
 use flipbox\hubspot\pipeline\Resource;
18 19
 use flipbox\hubspot\pipeline\stages\ElementAssociationStage;
19 20
 use flipbox\hubspot\pipeline\stages\ElementSaveStage;
20 21
 use flipbox\hubspot\traits\TransformElementIdTrait;
21 22
 use flipbox\hubspot\traits\TransformElementPayloadTrait;
22
-use Psr\SimpleCache\CacheInterface;
23 23
 
24 24
 /**
25 25
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/criteria/ContactListContactsMutator.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 namespace flipbox\hubspot\criteria;
10 10
 
11 11
 use craft\base\ElementInterface;
12
-use flipbox\hubspot\fields\Objects;
13 12
 use flipbox\hubspot\HubSpot;
13
+use flipbox\hubspot\fields\Objects;
14 14
 use yii\base\BaseObject;
15 15
 
16 16
 /**
Please login to merge, or discard this patch.