Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: apply fabbot
  • Loading branch information
bitgandtter authored and OskarStark committed Dec 28, 2023
commit 9459855b4c543ba47fe4c26ece7f2cc9af9b65f7
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

/*
Expand Down Expand Up @@ -67,7 +76,7 @@ protected function doSend(MessageInterface $message): SentMessage
try {
$this->pusherClient->trigger($options->getChannels(), $message->getSubject(), $message->getContent(), [], true);
} catch (Throwable) {
throw new RuntimeException('An error occurred at Pusher Notifier Transport');
throw new RuntimeException('An error occurred at Pusher Notifier Transport.');
}

return new SentMessage($message, $this->__toString());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class PusherOptionsTest extends TestCase
* @dataProvider toArrayProvider
* @dataProvider toArraySimpleOptionsProvider
*/
public function testToArray(array $options, array $expected = null): void
public function testToArray(array $options, array $expected = null)
{
static::assertSame($expected ?? $options, (new PusherOptions($options))->toArray());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ public function unsupportedMessagesProvider(): iterable
yield [$this->createMock(MessageInterface::class)];
}

public function testCanSetCustomHost(): void
public function testCanSetCustomHost()
{
static::markTestSkipped('Does not apply for this provider.');
}

public function testCanSetCustomPort(): void
public function testCanSetCustomPort()
{
static::markTestSkipped('Does not apply for this provider.');
}

public function testCanSetCustomHostAndPort(): void
public function testCanSetCustomHostAndPort()
{
static::markTestSkipped('Does not apply for this provider.');
}
Expand Down