Skip to content

Commit 4989d4a

Browse files
committed
Fix some QA issues
1 parent de067c6 commit 4989d4a

4 files changed

Lines changed: 3 additions & 12 deletions

File tree

psalm-dev.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
</projectFiles>
1818

1919
<issueHandlers>
20-
<!-- Ignore UnresolvableInclude on CLI-scripts -->
21-
<UnresolvableInclude>
22-
<errorLevel type="suppress">
23-
<file name="tests/bootstrap.php" />
24-
</errorLevel>
25-
</UnresolvableInclude>
26-
2720
<!-- Ignore MissingOverrideAttribute -->
2821
<MissingOverrideAttribute>
2922
<errorLevel type="suppress">

tests/src/ARPTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use SimpleSAML\Configuration;
99
use SimpleSAML\Module\metarefresh\ARP;
1010

11-
class ARPTest extends TestCase
11+
final class ARPTest extends TestCase
1212
{
1313
public function testARP(): void
1414
{

tests/src/Controller/MetaRefreshTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @package SimpleSAML\Test
1616
*/
17-
class MetaRefreshTest extends TestCase
17+
final class MetaRefreshTest extends TestCase
1818
{
1919
/** @var \SimpleSAML\Configuration */
2020
protected $authsources;
@@ -98,9 +98,7 @@ public function testMetaRefresh()
9898
$c->setAuthUtils($this->authUtils);
9999
$c->setModuleConfig($this->module_config);
100100

101-
/** @var \SimpleSAML\XHTML\Template $response */
102101
$response = $c->main();
103-
104102
$this->assertTrue($response->isSuccessful());
105103

106104
$contents = $response->getContents();

tests/src/MetaLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use PHPUnit\Framework\TestCase;
99
use SimpleSAML\Configuration;
1010

11-
class MetaLoaderTest extends TestCase
11+
final class MetaLoaderTest extends TestCase
1212
{
1313
/** \SimpleSAML\Module\metarefresh\MetaLoader */
1414
private $metaloader;

0 commit comments

Comments
 (0)