Remove all @throws PHPDoc, it's almost useless for SPC anymore

This commit is contained in:
crazywhalecc
2025-08-06 20:17:26 +08:00
committed by Jerry Ma
parent fa10142f13
commit 0c9a30256e
120 changed files with 169 additions and 1203 deletions

View File

@@ -41,9 +41,6 @@ class GlobalFunctionsTest extends TestCase
$this->assertInstanceOf('Psr\Log\LoggerInterface', logger());
}
/**
* @throws WrongUsageException
*/
public function testArch2Gnu(): void
{
$this->assertEquals('x86_64', arch2gnu('x86_64'));
@@ -61,9 +58,6 @@ class GlobalFunctionsTest extends TestCase
$this->assertEquals("'hello'", quote('hello', "'"));
}
/**
* @throws RuntimeException
*/
public function testFPassthru(): void
{
if (PHP_OS_FAMILY === 'Windows') {