reformat code
Dieser Commit ist enthalten in:
Ursprung
ca7c96766f
Commit
5059aea416
@ -84,4 +84,4 @@ abstract class Entity extends ArrayCollection
|
||||
|
||||
return is_null($value) ? null : (bool) $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,4 +17,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace D3\KlicktippPhpClient\Exceptions;
|
||||
|
||||
interface KlicktippExceptionInterface {}
|
||||
interface KlicktippExceptionInterface
|
||||
{
|
||||
}
|
||||
|
@ -550,7 +550,7 @@ class AccountTest extends TestCase
|
||||
public function testGetArrayCollectionFromValue($value, ?ArrayCollection $expected, bool $expectException): void
|
||||
{
|
||||
if ($expectException) {
|
||||
$this->expectException( InvalidCredentialTypeException::class );
|
||||
$this->expectException(InvalidCredentialTypeException::class);
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
@ -579,7 +579,7 @@ class AccountTest extends TestCase
|
||||
public function testGetStringOrNullValue($value, ?string $expected, bool $expectException): void
|
||||
{
|
||||
if ($expectException) {
|
||||
$this->expectException( InvalidCredentialTypeException::class );
|
||||
$this->expectException(InvalidCredentialTypeException::class);
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
@ -608,7 +608,7 @@ class AccountTest extends TestCase
|
||||
public function testGetIntOrNullValue($value, ?int $expected, bool $expectException): void
|
||||
{
|
||||
if ($expectException) {
|
||||
$this->expectException( InvalidCredentialTypeException::class );
|
||||
$this->expectException(InvalidCredentialTypeException::class);
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
@ -637,7 +637,7 @@ class AccountTest extends TestCase
|
||||
public function testGetBooleanOrNullValue($value, ?bool $expected, bool $expectException): void
|
||||
{
|
||||
if ($expectException) {
|
||||
$this->expectException( InvalidCredentialTypeException::class );
|
||||
$this->expectException(InvalidCredentialTypeException::class);
|
||||
}
|
||||
|
||||
$this->assertEquals(
|
||||
|
@ -180,7 +180,8 @@ class SubscriptionTest extends TestCase
|
||||
* @throws ReflectionException
|
||||
* @covers \D3\KlicktippPhpClient\Entities\Subscription::setName
|
||||
*/
|
||||
public function testSetname(): void {
|
||||
public function testSetname(): void
|
||||
{
|
||||
$sut = $this->getMockBuilder(Subscription::class)
|
||||
->onlyMethods(['set'])
|
||||
->setConstructorArgs([[SubscriptionEndpoint::LISTID => 'foo']])
|
||||
|
@ -212,4 +212,4 @@ class TagTest extends TestCase
|
||||
yield 'has endpoint' => [true, self::once(), true];
|
||||
yield 'has no endpoint' => [false, self::never(), null];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren