Completed
Push — master ( 444139...b6b37e )
by Damien
09:32
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 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 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\records\ProviderInterface;
13 12
 use flipbox\saml\core\Saml;
14
-use flipbox\saml\core\traits\EnsureSamlPlugin;
15 13
 use flipbox\saml\core\controllers\AbstractController as BaseController;
14
+use flipbox\saml\core\records\ProviderInterface;
15
+use flipbox\saml\core\traits\EnsureSamlPlugin;
16 16
 use flipbox\saml\core\web\assets\bundles\SamlCore;
17 17
 
18 18
 /**
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/AbstractProviderService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * @inheritdoc
72
+     * @param string $type
72 73
      */
73 74
     protected function findByType($type, $condition = [])
74 75
     {
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/ProviderServiceInterface.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\saml\core\services;
10 10
 
11
-use flipbox\saml\core\records\ProviderInterface;
12
-use flipbox\saml\core\records\AbstractProvider;
13
-use flipbox\keychain\records\KeyChainRecord;
14 11
 use LightSaml\Model\Metadata\EntityDescriptor;
12
+use flipbox\keychain\records\KeyChainRecord;
13
+use flipbox\saml\core\records\AbstractProvider;
14
+use flipbox\saml\core\records\ProviderInterface;
15 15
 use yii\db\Query;
16 16
 
17 17
 interface ProviderServiceInterface
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.
src/controllers/cp/view/metadata/VariablesTrait.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 namespace flipbox\saml\core\controllers\cp\view\metadata;
8 8
 
9 9
 use Craft;
10
-use flipbox\saml\core\records\ProviderInterface;
11
-use flipbox\saml\core\traits\EnsureSamlPlugin;
12 10
 use craft\helpers\UrlHelper;
13 11
 use flipbox\keychain\KeyChain;
12
+use flipbox\saml\core\records\ProviderInterface;
13
+use flipbox\saml\core\traits\EnsureSamlPlugin;
14 14
 
15 15
 trait VariablesTrait
16 16
 {
Please login to merge, or discard this patch.