Skip to content

Commit 5feb64d

Browse files
committed
Remove unused use-statements and order them alphabetically
1 parent a96309d commit 5feb64d

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
},
1818
"allow-plugins": {
1919
"composer/package-versions-deprecated": true,
20-
"simplesamlphp/composer-module-installer": true
20+
"simplesamlphp/composer-module-installer": true,
21+
"dealerdirect/phpcodesniffer-composer-installer": true
2122
}
2223
},
2324
"autoload": {

phpunit.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">./src</directory>
6-
</include>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
3+
<coverage>
74
<report>
85
<clover outputFile="build/logs/clover.xml"/>
96
<html outputDirectory="build/coverage" lowUpperBound="35" highLowerBound="70"/>
@@ -17,4 +14,9 @@
1714
</testsuite>
1815
</testsuites>
1916
<logging/>
17+
<source>
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
</source>
2022
</phpunit>

src/Auth/Source/Negotiate.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use function is_null;
2424
use function is_string;
2525
use function preg_split;
26-
use function strlower;
2726

2827
/**
2928
* The Negotiate module. Allows for password-less, secure login by Kerberos and Negotiate.

tests/src/Controller/NegotiateControllerTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@
1010
use SimpleSAML\Auth\State;
1111
use SimpleSAML\Configuration;
1212
use SimpleSAML\Error;
13-
use SimpleSAML\HTTP\RunnableResponse;
1413
use SimpleSAML\Logger;
15-
use SimpleSAML\Module;
1614
use SimpleSAML\Metadata\MetaDataStorageHandler;
15+
use SimpleSAML\Module;
1716
use SimpleSAML\Module\negotiate\Controller;
1817
use SimpleSAML\Session;
19-
use SimpleSAML\XHTML\Template;
2018
use Symfony\Component\HttpFoundation\Request;
21-
use Symfony\Component\HttpFoundation\StreamedResponse;
2219

2320
/**
2421
* Set of tests for the controllers in the "negotiate" module.

0 commit comments

Comments
 (0)