Repository navigation
Sync the locked contract and add fleet membership methods (1.2.0) #47
ci.yml
on: pull_request
Distribution archive
11s
Matrix: compatibility
Quality and contracts
23s
Coverage evidence
24s
Mutation baseline
2m 6s
Matrix: consumers
Release candidate dry run
18s
Annotations
32 warnings
|
PHP 8.2 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.1 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.5 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.1 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.5 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.0 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.4 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 7.4 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 7.4 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Distribution archive
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.0 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.3 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.2 / lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.3 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.4 / latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Quality and contracts
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Coverage evidence
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
laravel consumer
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
plain consumer
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
symfony consumer
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Mutation baseline
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Mutation baseline:
src/FleetbaseException.php#L44
Escaped Mutant for Mutator "Coalesce":
@@ @@
?string $url = null,
?\Throwable $previous = null
) {
- parent::__construct($message, $statusCode ?? 0, $previous);
+ parent::__construct($message, 0 ?? $statusCode, $previous);
$this->statusCode = $statusCode;
$this->errorCode = $errorCode;
$this->details = $details;
|
|
Mutation baseline:
src/FleetbaseException.php#L44
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
?string $url = null,
?\Throwable $previous = null
) {
- parent::__construct($message, $statusCode ?? 0, $previous);
+ parent::__construct($message, $statusCode ?? -1, $previous);
$this->statusCode = $statusCode;
$this->errorCode = $errorCode;
$this->details = $details;
|
|
Mutation baseline:
src/FleetbaseException.php#L44
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
?string $url = null,
?\Throwable $previous = null
) {
- parent::__construct($message, $statusCode ?? 0, $previous);
+ parent::__construct($message, $statusCode ?? 1, $previous);
$this->statusCode = $statusCode;
$this->errorCode = $errorCode;
$this->details = $details;
|
|
Mutation baseline:
src/Fleetbase.php#L224
Escaped Mutant for Mutator "FalseValue":
@@ @@
$args = func_get_args();
$publicKey = $args[0] ?? null;
$config = $args[1] ?? [];
- $debug = $args[2] ?? false;
+ $debug = $args[2] ?? true;
if (!is_string($publicKey) || !is_array($config) || !is_bool($debug)) {
throw new \InvalidArgumentException('Fleetbase::newInstance() expects an API key, configuration array, and debug boolean.');
}
|
|
Mutation baseline:
src/Fleetbase.php#L167
Escaped Mutant for Mutator "FalseValue":
@@ @@
public $files;
/** @PARAM array<string, mixed> $config */
- public function __construct(string $publicKey, array $config = [], bool $debug = false)
+ public function __construct(string $publicKey, array $config = [], bool $debug = true)
{
$configuration = new Configuration($publicKey, $config, $debug);
$this->version = $configuration->getVersion();
|
|
Mutation baseline:
src/Configuration.php#L92
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
public function toArray(): array
{
return array_merge($this->options, [
- 'version' => $this->version,
'host' => $this->host,
'namespace' => $this->namespace,
'debug' => $this->debug,
|
|
Mutation baseline:
src/Configuration.php#L44
Escaped Mutant for Mutator "UnwrapStrToLower":
@@ @@
if (!is_string($host) || filter_var($host, FILTER_VALIDATE_URL) === false) {
throw new InvalidConfigurationException('Fleetbase host must be an absolute HTTP(S) URL.');
}
- if (!in_array(strtolower((string) parse_url($host, PHP_URL_SCHEME)), ['http', 'https'], true)) {
+ if (!in_array((string) parse_url($host, PHP_URL_SCHEME), ['http', 'https'], true)) {
throw new InvalidConfigurationException('Fleetbase host must use HTTP or HTTPS.');
}
if (!is_string($namespace)) {
|
|
Mutation baseline:
src/Configuration.php#L38
Escaped Mutant for Mutator "UnwrapTrim":
@@ @@
$host = $options['host'] ?? 'https://api.fleetbase.io';
$namespace = $options['namespace'] ?? $version;
- if (!is_string($version) || trim($version) === '') {
+ if (!is_string($version) || $version === '') {
throw new InvalidConfigurationException('Fleetbase API version must be a non-empty string.');
}
if (!is_string($host) || filter_var($host, FILTER_VALIDATE_URL) === false) {
|
|
Mutation baseline:
src/Configuration.php#L30
Escaped Mutant for Mutator "UnwrapTrim":
@@ @@
/** @PARAM array<string, mixed> $options */
public function __construct(string $apiKey, array $options = [], bool $debug = false)
{
- if (trim($apiKey) === '') {
+ if ($apiKey === '') {
throw new InvalidConfigurationException('A non-empty Fleetbase API key is required.');
}
|
|
Mutation baseline:
src/Configuration.php#L28
Escaped Mutant for Mutator "FalseValue":
@@ @@
private array $options;
/** @PARAM array<string, mixed> $options */
- public function __construct(string $apiKey, array $options = [], bool $debug = false)
+ public function __construct(string $apiKey, array $options = [], bool $debug = true)
{
if (trim($apiKey) === '') {
throw new InvalidConfigurationException('A non-empty Fleetbase API key is required.');
|
|
Release candidate dry run
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: shivammathur/setup-php@db91e1a0e48e84637d325a7ee4d2677e146ceec4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|