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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs: # Docs: <https://git.io/JvxXE>
setup: [basic, lowest]
laravel: [default]
coverage: [yes]
php: ['8.2', '8.3']
php: ['8.2', '8.3', '8.4']
include:
- php: '8.2'
setup: [ basic, lowest ]
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## Unreleased

### Changed

- Minimal `guzzlehttp/guzzle` version now is `7,10`
- Minimal `phpstan/phpstan` version now is `1.12.27`

### Fixed
Comment thread
eldario marked this conversation as resolved.

- Deprecated implicit marking of parameter as nullable
Comment thread
eldario marked this conversation as resolved.

## v2.8.0

### Added
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"php": "^8.2",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^7.7",
"guzzlehttp/guzzle": "^7.10",
"illuminate/contracts": "~10.0 || ~11.0 || ~12.0",
"illuminate/support": "~10.0 || ~11.0 || ~12.0",
"illuminate/config": "~10.0 || ~11.0 || ~12.0",
"composer/package-versions-deprecated": "^1.11"
},
"require-dev": {
"laravel/laravel": "~10.0 || ~11.0 || ~12.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^1.12.27",
"phpunit/phpunit": "^10.5"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function version(bool $without_hash = true): string
/**
* {@inheritdoc}
*/
public function healthcheck(string $node_name = null): bool
public function healthcheck(?string $node_name = null): bool
{
$url = '/api/healthchecks/node' . ($node_name === null
? ''
Expand Down
2 changes: 1 addition & 1 deletion src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function version(bool $without_hash = true): string;
*
* @return bool
*/
public function healthcheck(string $node_name = null): bool;
public function healthcheck(?string $node_name = null): bool;

/**
* Get queue info by name (and vhost).
Expand Down
2 changes: 1 addition & 1 deletion src/ConnectionSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(string $entry_point,
string $login = 'guest',
string $password = 'guest',
int $timeout = 5,
string $user_agent = null)
?string $user_agent = null)
{
$this->entry_point = \rtrim($entry_point, ' \\/');
$this->login = $login;
Expand Down
2 changes: 1 addition & 1 deletion src/Frameworks/Illuminate/ClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function defaultConnectionName(): string
/**
* {@inheritdoc}
*/
public function make(string $connection_name = null, array $options = null): ClientInterface
public function make(?string $connection_name = null, ?array $options = null): ClientInterface
{
$connection_name = $connection_name ?? $this->defaultConnectionName();

Expand Down
2 changes: 1 addition & 1 deletion src/Frameworks/Illuminate/ClientFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ public function defaultConnectionName(): string;
*
* @return ClientInterface
*/
public function make(string $connection_name = null, array $options = null): ClientInterface;
public function make(?string $connection_name = null, ?array $options = null): ClientInterface;
}
Loading