Completed
Push — develop ( e9f396...2b8a13 )
by Nate
04:23
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/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/cp/controllers/view/OrganizationsController.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,18 +9,16 @@
 block discarded – undo
9 9
 namespace flipbox\organizations\cp\controllers\view;
10 10
 
11 11
 use Craft;
12
-use craft\elements\db\UserQuery;
13
-use craft\elements\User;
14 12
 use craft\elements\User as UserElement;
13
+use craft\elements\db\UserQuery;
15 14
 use craft\helpers\UrlHelper;
16 15
 use craft\models\Site;
17 16
 use flipbox\craft\ember\helpers\SiteHelper;
18
-use flipbox\organizations\cp\controllers\OrganizationTabsTrait;
17
+use flipbox\organizations\Organizations as OrganizationPlugin;
19 18
 use flipbox\organizations\cp\controllers\OrganizationSitesTrait;
20
-use flipbox\organizations\elements\Organization;
19
+use flipbox\organizations\cp\controllers\OrganizationTabsTrait;
21 20
 use flipbox\organizations\elements\Organization as OrganizationElement;
22 21
 use flipbox\organizations\events\RegisterOrganizationActionsEvent;
23
-use flipbox\organizations\Organizations as OrganizationPlugin;
24 22
 use flipbox\organizations\records\OrganizationType;
25 23
 use flipbox\organizations\web\assets\organization\Organization as OrganizationAsset;
26 24
 use yii\base\Exception;
Please login to merge, or discard this patch.
src/cp/controllers/UserIndexesController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use craft\base\ElementActionInterface;
15 15
 use craft\base\ElementInterface;
16 16
 use craft\controllers\BaseElementsController;
17
+use craft\elements\User;
17 18
 use craft\elements\db\ElementQuery;
18 19
 use craft\elements\db\ElementQueryInterface;
19
-use craft\elements\User;
20 20
 use craft\events\ElementActionEvent;
21 21
 use craft\events\RegisterElementHtmlAttributesEvent;
22 22
 use craft\helpers\ElementHelper;
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,21 +10,20 @@
 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\actions\SetStatus;
15 16
 use craft\elements\db\ElementQueryInterface;
16
-use craft\elements\User;
17 17
 use craft\helpers\DateTimeHelper;
18 18
 use craft\helpers\Json;
19 19
 use craft\helpers\StringHelper;
20 20
 use craft\helpers\UrlHelper as UrlHelper;
21 21
 use flipbox\craft\ember\elements\ExplicitElementTrait;
22 22
 use flipbox\craft\ember\helpers\ModelHelper;
23
-use flipbox\organizations\models\DateJoinedAttributeTrait;
24 23
 use flipbox\organizations\Organizations as OrganizationPlugin;
24
+use flipbox\organizations\models\DateJoinedAttributeTrait;
25 25
 use flipbox\organizations\queries\OrganizationQuery;
26 26
 use flipbox\organizations\records\Organization as OrganizationRecord;
27
-use flipbox\organizations\records\OrganizationType;
28 27
 use flipbox\organizations\records\OrganizationType as TypeModel;
29 28
 use yii\base\ErrorException as Exception;
30 29
 
Please login to merge, or discard this patch.
src/objects/DateJoinedMutatorTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\organizations\objects;
10 10
 
11
-use craft\helpers\DateTimeHelper;
12 11
 use DateTime;
12
+use craft\helpers\DateTimeHelper;
13 13
 
14 14
 /**
15 15
  * @property DateTime|null $dateJoined
Please login to merge, or discard this patch.