reformat code

Cette révision appartient à :
Daniel Seifert 2025-01-08 15:29:51 +01:00
Parent ca7c96766f
révision 5059aea416
5 fichiers modifiés avec 11 ajouts et 8 suppressions

Voir le fichier

@ -84,4 +84,4 @@ abstract class Entity extends ArrayCollection
return is_null($value) ? null : (bool) $value;
}
}
}

Voir le fichier

@ -17,4 +17,6 @@ declare(strict_types=1);
namespace D3\KlicktippPhpClient\Exceptions;
interface KlicktippExceptionInterface {}
interface KlicktippExceptionInterface
{
}

Voir le fichier

@ -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(

Voir le fichier

@ -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']])

Voir le fichier

@ -212,4 +212,4 @@ class TagTest extends TestCase
yield 'has endpoint' => [true, self::once(), true];
yield 'has no endpoint' => [false, self::never(), null];
}
}
}