Add support for PHP 8.3 and 8.4 #17
ci.yml
on: pull_request
Matrix: Coding Standards
Matrix: Mutation Tests
Matrix: Static Code Analysis
Matrix: Tests
Annotations
30 warnings
|
Tests (8.3, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.3, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.3, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.3, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Coding Standards (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Coding Standards (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.2, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.2, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.2, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.2, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Mutation Tests (8.4, locked):
src/IPv4/IPv4Address.php#L25
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
public function __construct(private int $address)
{
- Assert::lessThanEq($address, 0xffffffff, 'Invalid IP-Address value "0x%x" (overflow).');
+
}
/**
* @psalm-return self
|
|
Mutation Tests (8.4, locked):
src/IPv4/IPv4Address.php#L25
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
public function __construct(private int $address)
{
- Assert::lessThanEq($address, 0xffffffff, 'Invalid IP-Address value "0x%x" (overflow).');
+ Assert::lessThanEq($address, 4294967296, 'Invalid IP-Address value "0x%x" (overflow).');
}
/**
* @psalm-return self
|
|
Mutation Tests (8.4, locked):
src/IPv4/CIDRv4Address.php#L21
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
public function __construct(private IPv4Address $address, int $prefix)
{
- Assert::range($prefix, 0, 32, 'Invalid ip v4 prefix length: %d');
+ Assert::range($prefix, 0, 33, 'Invalid ip v4 prefix length: %d');
parent::__construct($prefix);
}
/**
|
|
Mutation Tests (8.4, locked):
src/IPv4/CIDRv4Address.php#L21
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
public function __construct(private IPv4Address $address, int $prefix)
{
- Assert::range($prefix, 0, 32, 'Invalid ip v4 prefix length: %d');
+ Assert::range($prefix, -1, 32, 'Invalid ip v4 prefix length: %d');
parent::__construct($prefix);
}
/**
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L103
Escaped Mutant for Mutator "Coalesce":
@@ @@
if (preg_match($regex, $value)) {
return;
}
- self::throwInvalidArgument($message ?? 'Expected "%s" to match "%s".', $value, $regex);
+ self::throwInvalidArgument('Expected "%s" to match "%s".' ?? $message, $value, $regex);
}
/** @psalm-pure */
private static function throwInvalidArgument(string $message, float|int|string ...$args): void
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L79
Escaped Mutant for Mutator "Coalesce":
@@ @@
return;
}
// phpcs:enable
- self::throwInvalidArgument($message ?? 'Expected "%s" to be an integer-like value', $value);
+ self::throwInvalidArgument('Expected "%s" to be an integer-like value' ?? $message, $value);
}
/** @psalm-pure */
public static function lessThanEq(int $value, int $max, string|null $message = null): void
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L64
Escaped Mutant for Mutator "Coalesce":
@@ @@
if (strpos($value, $substring) !== false) {
return;
}
- self::throwInvalidArgument($message ?? 'Expected "%s" to contain "%s".', $value, $substring);
+ self::throwInvalidArgument('Expected "%s" to contain "%s".' ?? $message, $value, $substring);
}
/**
* @psalm-pure
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L54
Escaped Mutant for Mutator "Coalesce":
@@ @@
if ($value >= $min && $value <= $max) {
return;
}
- self::throwInvalidArgument($message ?? 'Expected %d to be in range of %d - %d.', $value, $min, $max);
+ self::throwInvalidArgument('Expected %d to be in range of %d - %d.' ?? $message, $value, $min, $max);
}
/** @psalm-pure */
public static function contains(string $value, string $substring, string|null $message = null): void
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L44
Escaped Mutant for Mutator "Coalesce":
@@ @@
if (is_int($value)) {
return;
}
- self::throwInvalidArgument($message ?? 'Expected %s to be an integer.', self::typeStringFor($value));
+ self::throwInvalidArgument('Expected %s to be an integer.' ?? $message, self::typeStringFor($value));
}
/** @psalm-pure */
public static function range(int $value, int $min, int $max, string|null $message = null): void
|
|
Mutation Tests (8.4, locked):
src/Assert.php#L31
Escaped Mutant for Mutator "Coalesce":
@@ @@
if (is_string($value)) {
return;
}
- self::throwInvalidArgument($message ?? 'Expected %s to be a string.', self::typeStringFor($value));
+ self::throwInvalidArgument('Expected %s to be a string.' ?? $message, self::typeStringFor($value));
}
/**
* @psalm-pure
|
|
Mutation Tests (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Mutation Tests (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Tests (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Static Code Analysis (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Static Code Analysis (8.4, locked)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|