mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-18 00:21:20 +00:00
refactor(php): use self::markTestIncomplete instead of instance calls (#17824)
It's reported by phpstan as `Dynamic call to static method PHPUnit\Framework\Assert::markTestIncomplete().`. The method is static, therefore it should not be called from instance context.
This commit is contained in:
@@ -81,7 +81,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestBinaryGif()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -93,7 +93,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestBodyApplicationOctetstreamBinary()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -105,7 +105,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestBodyMultipartFormdataArrayOfBinary()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -117,7 +117,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestEchoBodyFreeFormObjectResponseString()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -129,7 +129,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestEchoBodyPet()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -141,7 +141,7 @@ class BodyApiTest extends TestCase
|
||||
public function testTestEchoBodyPetResponseString()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -153,6 +153,6 @@ class BodyApiTest extends TestCase
|
||||
public function testTestEchoBodyTagResponseString()
|
||||
{
|
||||
// TODO: implement
|
||||
$this->markTestIncomplete('Not implemented');
|
||||
self::markTestIncomplete('Not implemented');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user