Skip to content
Snippets Groups Projects
Commit 7c861e19 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix NullArgument

parent 1074a9e2
No related branches found
No related tags found
No related merge requests found
...@@ -152,11 +152,13 @@ class SystemTest extends TestCase ...@@ -152,11 +152,13 @@ class SystemTest extends TestCase
/** /**
* @covers \SimpleSAML\Utils\System::writeFile * @covers \SimpleSAML\Utils\System::writeFile
* @test * @test
* @deprecated Test becomes obsolete as soon as the codebase is fully type hinted
* @return void * @return void
*/ */
public function testWriteFileInvalidArguments() public function testWriteFileInvalidArguments()
{ {
$this->expectException(\InvalidArgumentException::class); $this->expectException(\InvalidArgumentException::class);
/** @psalm-suppress NullArgument */
System::writeFile(null, null, null); System::writeFile(null, null, null);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment