Skip to content

Commit ef9448a

Browse files
committed
Remove unused use-statements and order them alphabetically
1 parent d68886e commit ef9448a

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"config": {
3434
"allow-plugins": {
3535
"composer/package-versions-deprecated": true,
36-
"simplesamlphp/composer-module-installer": true
36+
"simplesamlphp/composer-module-installer": true,
37+
"dealerdirect/phpcodesniffer-composer-installer": true
3738
}
3839
}
3940
}

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/Process/EntityCategory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
use SimpleSAML\Error;
1010

1111
use function array_key_exists;
12+
use function array_merge;
1213
use function in_array;
13-
use function is_array;
14-
use function is_bool;
1514
use function is_numeric;
1615

1716
/**

0 commit comments

Comments
 (0)