Completed
Push — develop ( b386e5...33ac12 )
by Damien
12:18 queued 14s
created
src/controllers/AbstractSettingsController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @return mixed
65
+     * @return \yii\web\Response
66 66
      * @throws \yii\base\InvalidConfigException
67 67
      */
68 68
     public function actionSave()
Please login to merge, or discard this 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\saml\core\AbstractPlugin;
14 14
 use flipbox\saml\core\traits\EnsureSamlPlugin;
15
-use yii\base\Action;
16 15
 
17 16
 /**
18 17
  * Class AbstractGeneralController
Please login to merge, or discard this patch.
src/controllers/cp/view/AbstractController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,6 @@
 block discarded – undo
213 213
 
214 214
     /**
215 215
      * @param ProviderInterface $provider
216
-     * @param array $variables
217 216
      * @return array
218 217
      */
219 218
     protected function addUrls(ProviderInterface $provider)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 namespace flipbox\saml\core\controllers\cp\view;
10 10
 
11 11
 use flipbox\saml\core\AbstractPlugin;
12
+use flipbox\saml\core\controllers\AbstractController as BaseController;
12 13
 use flipbox\saml\core\records\ProviderInterface;
13 14
 use flipbox\saml\core\traits\EnsureSamlPlugin;
14
-use flipbox\saml\core\controllers\AbstractController as BaseController;
15 15
 use flipbox\saml\core\web\assets\bundles\SamlCore;
16 16
 
17 17
 /**
Please login to merge, or discard this patch.
src/fields/AbstractExternalIdentity.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use craft\base\ElementInterface;
10 10
 use craft\base\Field;
11 11
 use craft\elements\User;
12
-use flipbox\saml\core\records\ProviderIdentityInterface;
13 12
 use flipbox\saml\core\traits\EnsureSamlPlugin;
14 13
 use yii\db\Query;
15 14
 
Please login to merge, or discard this patch.
src/records/AbstractProvider.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,13 +8,10 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\saml\core\records;
10 10
 
11
-use flipbox\ember\helpers\ObjectHelper;
12
-use flipbox\ember\helpers\QueryHelper;
11
+use LightSaml\Model\Metadata\EntityDescriptor;
13 12
 use flipbox\ember\records\ActiveRecord;
14 13
 use flipbox\keychain\records\KeyChainRecord;
15 14
 use flipbox\saml\core\helpers\SerializeHelper;
16
-use flipbox\saml\core\traits\EnsureSamlPlugin;
17
-use LightSaml\Model\Metadata\EntityDescriptor;
18 15
 use yii\db\ActiveQuery;
19 16
 
20 17
 /**
Please login to merge, or discard this patch.
src/services/bindings/AbstractHttpPost.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,6 +9,10 @@  discard block
 block discarded – undo
9 9
 namespace flipbox\saml\core\services\bindings;
10 10
 
11 11
 use Craft;
12
+use LightSaml\Context\Profile\MessageContext;
13
+use LightSaml\Error\LightSamlBindingException;
14
+use LightSaml\Model\Assertion\Issuer;
15
+use LightSaml\Model\Protocol\SamlMessage;
12 16
 use craft\base\Component;
13 17
 use craft\web\Request;
14 18
 use flipbox\saml\core\AbstractPlugin;
@@ -19,10 +23,6 @@  discard block
 block discarded – undo
19 23
 use flipbox\saml\core\helpers\SerializeHelper;
20 24
 use flipbox\saml\core\records\ProviderInterface;
21 25
 use flipbox\saml\core\traits\EnsureSamlPlugin;
22
-use LightSaml\Context\Profile\MessageContext;
23
-use LightSaml\Error\LightSamlBindingException;
24
-use LightSaml\Model\Assertion\Issuer;
25
-use LightSaml\Model\Protocol\SamlMessage;
26 26
 
27 27
 /**
28 28
  * Class AbstractHttpPost
Please login to merge, or discard this patch.
src/services/traits/Metadata.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,13 +8,11 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\saml\core\services\traits;
10 10
 
11
-use flipbox\saml\core\records\AbstractProvider;
12
-use flipbox\saml\core\SamlPluginInterface;
13
-use LightSaml\Model\Metadata\SSODescriptor;
14
-use flipbox\keychain\records\KeyChainRecord;
15
-use LightSaml\Model\Metadata\KeyDescriptor;
16 11
 use LightSaml\Credential\X509Certificate;
12
+use LightSaml\Model\Metadata\KeyDescriptor;
13
+use LightSaml\Model\Metadata\SSODescriptor;
17 14
 use LightSaml\SamlConstants;
15
+use flipbox\keychain\records\KeyChainRecord;
18 16
 
19 17
 trait Metadata
20 18
 {
Please login to merge, or discard this patch.