Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
php: ['8.2']
php: ['8.2', '8.3', '8.4']
laravel: [9.*, 10.*, 11.*, 12.*]
include:
- php: 8.1
Expand Down
2 changes: 1 addition & 1 deletion app/Exceptions/NotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class NotFoundException extends HttpException
* It is highly suggested that you customize the message with the name of the resource that isn't found.
* @param string $message
*/
public function __construct(string $message = null, ?Throwable $previous = null)
public function __construct(?string $message = null, ?Throwable $previous = null)
{
parent::__construct(Response::HTTP_NOT_FOUND, $message ?: 'Not found', $previous);
}
Expand Down
2 changes: 1 addition & 1 deletion app/Exceptions/RemoteAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RemoteAuthentication extends HttpException
* Optional message is a good way to elaborate what, if anything, you can do to troubleshoot this. (e.g., change value X in integration Y)
* @param string $message
*/
public function __construct(string $message = null)
public function __construct(?string $message = null)
{
parent::__construct(
Response::HTTP_UNAUTHORIZED,
Expand Down
3 changes: 2 additions & 1 deletion app/Exceptions/UpstreamException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Throwable;

class UpstreamException extends HttpException
{
Expand All @@ -21,7 +22,7 @@ class UpstreamException extends HttpException
* @param array $headers
* @param int|null $code
*/
public function __construct(string $message, \Throwable $previous = null, array $headers = [], ?int $code = 0)
public function __construct(string $message, ?Throwable $previous = null, array $headers = [], ?int $code = 0)
{
parent::__construct(Response::HTTP_BAD_GATEWAY, $message, $previous, $headers, $code);
}
Expand Down
2 changes: 1 addition & 1 deletion app/Testing/MocksGuzzleInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function expectTotalRequestCount(int $expectedRequestCount): void
self::assertSame($expectedRequestCount, $this->tapper->getCountAll());
}

protected function assertTapperRequestLike(string $method, string $urlPattern, int $count = null): void
protected function assertTapperRequestLike(string $method, string $urlPattern, ?int $count = null): void
{
if (is_int($count)) {
self::assertSame(
Expand Down
Loading