Completed
Push — master ( b96afd...2731ff )
by Nate
08:30 queued 06:24
created
src/actions/organizations/DeleteOrganization.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\organizations\actions\organizations;
10 10
 
11 11
 use flipbox\craft\ember\actions\elements\DeleteElement;
12
-use flipbox\organizations\elements\Organization;
13 12
 use flipbox\organizations\elements\Organization as OrganizationElement;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.
src/actions/organizations/ViewOrganization.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\organizations\actions\organizations;
10 10
 
11 11
 use flipbox\craft\ember\actions\elements\ViewElement;
12
-use flipbox\organizations\elements\Organization;
13 12
 use flipbox\organizations\elements\Organization as OrganizationElement;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.
src/behaviors/UserOrganizationsBehavior.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 use craft\events\ModelEvent;
8 8
 use craft\helpers\ArrayHelper;
9 9
 use flipbox\craft\ember\helpers\QueryHelper;
10
-use flipbox\organizations\elements\Organization;
11 10
 use flipbox\organizations\Organizations as OrganizationPlugin;
11
+use flipbox\organizations\elements\Organization;
12 12
 use flipbox\organizations\queries\OrganizationQuery;
13 13
 use flipbox\organizations\queries\UserAssociationQuery;
14 14
 use flipbox\organizations\records\UserAssociation;
Please login to merge, or discard this patch.
src/behaviors/UserTypesBehavior.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
 use craft\helpers\ArrayHelper;
7 7
 use craft\helpers\Json;
8 8
 use flipbox\craft\ember\helpers\QueryHelper;
9
-use flipbox\organizations\elements\Organization;
10 9
 use flipbox\organizations\Organizations as OrganizationPlugin;
10
+use flipbox\organizations\elements\Organization;
11 11
 use flipbox\organizations\queries\UserTypeQuery;
12 12
 use flipbox\organizations\records\UserAssociation;
13 13
 use flipbox\organizations\records\UserType;
Please login to merge, or discard this patch.
src/cp/actions/general/Update.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use flipbox\craft\ember\actions\models\CreateModel;
13
+use flipbox\organizations\Organizations;
13 14
 use flipbox\organizations\cp\actions\general\traits\SiteSettingAttributesTrait;
14 15
 use flipbox\organizations\models\Settings;
15 16
 use flipbox\organizations\models\SiteSettings;
16
-use flipbox\organizations\Organizations;
17 17
 use yii\base\Model;
18 18
 use yii\web\HttpException;
19 19
 
Please login to merge, or discard this patch.
src/cp/actions/organization/SwitchType.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,8 @@
 block discarded – undo
13 13
 use flipbox\craft\ember\actions\LookupTrait;
14 14
 use flipbox\craft\ember\actions\PopulateTrait;
15 15
 use flipbox\organizations\actions\organizations\PopulateOrganizationTrait;
16
-use flipbox\organizations\cp\controllers\OrganizationTabsTrait;
17 16
 use flipbox\organizations\cp\controllers\OrganizationSitesTrait;
18
-use flipbox\organizations\elements\Organization;
17
+use flipbox\organizations\cp\controllers\OrganizationTabsTrait;
19 18
 use flipbox\organizations\elements\Organization as OrganizationElement;
20 19
 use yii\base\Action;
21 20
 
Please login to merge, or discard this patch.
src/elements/TypesAttributeTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use craft\helpers\ArrayHelper;
13 13
 use flipbox\craft\ember\helpers\QueryHelper;
14 14
 use flipbox\organizations\queries\OrganizationTypeQuery;
15
-use flipbox\organizations\records\OrganizationType;
16 15
 use flipbox\organizations\records\OrganizationType as TypeModel;
17 16
 use flipbox\organizations\records\OrganizationTypeAssociation;
18 17
 
Please login to merge, or discard this patch.
src/elements/UsersAttributeTrait.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\db\Query;
13
-use craft\elements\db\UserQuery;
14 13
 use craft\elements\User;
14
+use craft\elements\db\UserQuery;
15 15
 use craft\helpers\ArrayHelper;
16 16
 use flipbox\craft\ember\helpers\QueryHelper;
17
-use flipbox\organizations\records\UserAssociation;
18 17
 use flipbox\organizations\records\UserAssociation as OrganizationUsersRecord;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
src/elements/Organization.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,20 +10,19 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\base\Element;
13
+use craft\elements\User;
13 14
 use craft\elements\actions\Edit as EditAction;
14 15
 use craft\elements\db\ElementQueryInterface;
15
-use craft\elements\User;
16 16
 use craft\helpers\DateTimeHelper;
17 17
 use craft\helpers\Json;
18 18
 use craft\helpers\StringHelper;
19 19
 use craft\helpers\UrlHelper as UrlHelper;
20 20
 use flipbox\craft\ember\elements\ExplicitElementTrait;
21 21
 use flipbox\craft\ember\helpers\ModelHelper;
22
-use flipbox\organizations\models\DateJoinedAttributeTrait;
23 22
 use flipbox\organizations\Organizations as OrganizationPlugin;
23
+use flipbox\organizations\models\DateJoinedAttributeTrait;
24 24
 use flipbox\organizations\queries\OrganizationQuery;
25 25
 use flipbox\organizations\records\Organization as OrganizationRecord;
26
-use flipbox\organizations\records\OrganizationType;
27 26
 use flipbox\organizations\records\OrganizationType as TypeModel;
28 27
 use yii\base\ErrorException as Exception;
29 28
 
Please login to merge, or discard this patch.