Repository navigation
chore(3.x): release 3.0.1 (#75) #60
Annotations
11 warnings and 1 notice
|
Infection
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Infection:
src/GetBinaryCommand.php#L45
Escaped Mutant for Mutator "Coalesce":
@@ @@
public function __construct(?string $name = null, ?DLoadDownloader $downloader = null)
{
$this->downloader = $downloader ?? new DLoadDownloader();
- parent::__construct($name ?? 'get-binary');
+ parent::__construct('get-binary' ?? $name);
$this->os = new OperatingSystemOption($this);
$this->arch = new ArchitectureOption($this);
|
|
Infection:
src/Environment/OperatingSystem.php#L36
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
'BSD' => self::OS_BSD,
'Darwin' => self::OS_DARWIN,
'Linux' => \str_contains(\PHP_OS, 'Alpine') ? self::OS_ALPINE : self::OS_LINUX,
- default => throw new \OutOfRangeException(\sprintf('Current OS (%s) may not be supported', \PHP_OS_FAMILY)),
};
}
|
|
Infection:
src/Environment/OperatingSystem.php#L36
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
return match (\PHP_OS_FAMILY) {
'Windows' => self::OS_WINDOWS,
'BSD' => self::OS_BSD,
- 'Darwin' => self::OS_DARWIN,
'Linux' => \str_contains(\PHP_OS, 'Alpine') ? self::OS_ALPINE : self::OS_LINUX,
default => throw new \OutOfRangeException(\sprintf('Current OS (%s) may not be supported', \PHP_OS_FAMILY)),
};
|
|
Infection:
src/Environment/OperatingSystem.php#L36
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
{
return match (\PHP_OS_FAMILY) {
'Windows' => self::OS_WINDOWS,
- 'BSD' => self::OS_BSD,
'Darwin' => self::OS_DARWIN,
'Linux' => \str_contains(\PHP_OS, 'Alpine') ? self::OS_ALPINE : self::OS_LINUX,
default => throw new \OutOfRangeException(\sprintf('Current OS (%s) may not be supported', \PHP_OS_FAMILY)),
|
|
Infection:
src/Environment/OperatingSystem.php#L36
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
public static function createFromGlobals(): string
{
return match (\PHP_OS_FAMILY) {
- 'Windows' => self::OS_WINDOWS,
'BSD' => self::OS_BSD,
'Darwin' => self::OS_DARWIN,
'Linux' => \str_contains(\PHP_OS, 'Alpine') ? self::OS_ALPINE : self::OS_LINUX,
|
|
Infection:
src/DownloadProtocBinaryCommand.php#L66
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$output->writeln(\sprintf(' - Stability: <info>%s</info>', $this->stability->get($input, $io)));
$output->writeln(\sprintf(' - Operating System: <info>%s</info>', $os));
$output->writeln(\sprintf(' - Architecture: <info>%s</info>', $this->arch->get($input, $io)));
- $output->writeln('');
+
$binary = $target . ($os === OperatingSystem::OS_WINDOWS ? '/protoc-gen-php-grpc.exe' : '/protoc-gen-php-grpc');
|
|
Infection:
src/DownloadProtocBinaryCommand.php#L63
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$output->writeln('');
$output->writeln(' Environment:');
$output->writeln(\sprintf(' - Version: <info>%s</info>', $this->version->get($input, $io)));
- $output->writeln(\sprintf(' - Stability: <info>%s</info>', $this->stability->get($input, $io)));
+
$output->writeln(\sprintf(' - Operating System: <info>%s</info>', $os));
$output->writeln(\sprintf(' - Architecture: <info>%s</info>', $this->arch->get($input, $io)));
$output->writeln('');
|
|
Infection:
src/DownloadProtocBinaryCommand.php#L61
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$os = $this->os->get($input, $io);
$output->writeln('');
- $output->writeln(' Environment:');
+
$output->writeln(\sprintf(' - Version: <info>%s</info>', $this->version->get($input, $io)));
$output->writeln(\sprintf(' - Stability: <info>%s</info>', $this->stability->get($input, $io)));
$output->writeln(\sprintf(' - Operating System: <info>%s</info>', $os));
|
|
Infection:
src/DownloadProtocBinaryCommand.php#L60
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$target = $this->location->get($input, $io);
$os = $this->os->get($input, $io);
- $output->writeln('');
+
$output->writeln(' Environment:');
$output->writeln(\sprintf(' - Version: <info>%s</info>', $this->version->get($input, $io)));
$output->writeln(\sprintf(' - Stability: <info>%s</info>', $this->stability->get($input, $io)));
|
|
Infection:
src/DownloadProtocBinaryCommand.php#L37
Escaped Mutant for Mutator "Coalesce":
@@ @@
public function __construct(?string $name = null, ?DLoadDownloader $downloader = null)
{
$this->downloader = $downloader ?? new DLoadDownloader();
- parent::__construct($name ?? 'download-protoc-binary');
+ parent::__construct('download-protoc-binary' ?? $name);
$this->os = new OperatingSystemOption($this);
$this->arch = new ArchitectureOption($this);
|
|
Infection
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|