Skip to content

Commit a61a697

Browse files
committed
Remove unused use-statements and order them alphabetically
1 parent a3853ad commit a61a697

98 files changed

Lines changed: 293 additions & 160 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
"allow-plugins": {
124124
"composer/package-versions-deprecated": true,
125125
"simplesamlphp/composer-module-installer": true,
126-
"muglug/package-versions-56": true
126+
"muglug/package-versions-56": true,
127+
"dealerdirect/phpcodesniffer-composer-installer": true
127128
}
128129
},
129130
"extra": {

composer.lock

Lines changed: 278 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/admin/src/Controller/Config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
namespace SimpleSAML\Module\admin\Controller;
66

7-
use Exception;
87
use SimpleSAML\{Configuration, Module, Session, Utils};
98
use SimpleSAML\Locale\Translate;
10-
use SimpleSAML\Metadata\MetaDataStorageHandler;
119
use SimpleSAML\XHTML\Template;
1210
use Symfony\Component\HttpFoundation\{Request, Response, StreamedResponse};
1311

modules/admin/src/Controller/Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use SimpleSAML\{Auth, Configuration, Module, Session, Utils};
88
use SimpleSAML\Assert\Assert;
99
use SimpleSAML\Locale\Translate;
10-
use SimpleSAML\SAML2\XML\saml\NameID;
1110
use SimpleSAML\XHTML\Template;
1211
use Symfony\Component\HttpFoundation\{Request, Response};
1312

modules/core/src/Auth/Process/ExtendIdPSession.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace SimpleSAML\Module\core\Auth\Process;
66

77
use SimpleSAML\{Auth, Configuration, Session, SessionHandler};
8-
use SimpleSAML\Assert\Assert;
98

109
use function time;
1110

modules/core/src/Auth/Process/StatisticsWithAttribute.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44

55
namespace SimpleSAML\Module\core\Auth\Process;
66

7-
use Exception;
87
use SimpleSAML\{Auth, Logger};
98
use SimpleSAML\Assert\Assert;
109

1110
use function array_key_exists;
1211
use function boolval;
1312
use function is_null;
14-
use function is_string;
1513

1614
/**
1715
* Log a line in the STAT log with one attribute.

modules/core/src/Auth/Process/WarnShortSSOInterval.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace SimpleSAML\Module\core\Auth\Process;
66

77
use SimpleSAML\{Auth, Logger, Module, Utils};
8-
use SimpleSAML\Assert\Assert;
98

109
use function array_key_exists;
1110
use function time;

modules/core/src/Auth/Source/AbstractSourceSelector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Exception;
88
use SimpleSAML\{Auth, Configuration, Error, Session};
9-
use SimpleSAML\Assert\Assert;
109
use Symfony\Component\HttpFoundation\{Request, Response};
1110

1211
use function in_array;

modules/core/src/Auth/Source/AdminPassword.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace SimpleSAML\Module\core\Auth\Source;
66

77
use SimpleSAML\{Configuration, Error, Utils};
8-
use SimpleSAML\Assert\Assert;
98
use SimpleSAML\Module\core\Auth\UserPassBase;
109

1110
/**

0 commit comments

Comments
 (0)