PHP 8.4 checks in CI #62
Annotations
10 errors and 20 warnings
Tests (8.4)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires vimeo/psalm ^5.0 -> satisfiable by vimeo/psalm[5.0.0, ..., 5.26.1].
- vimeo/psalm[5.0.0, ..., 5.13.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.1) does not satisfy that requirement.
- vimeo/psalm[5.14.0, ..., 5.26.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.1) does not satisfy that requirement.
|
Tests (8.4)
Process completed with exit code 2.
|
Tests (8.0)
The job was canceled because "_8_4" failed.
|
Tests (8.0)
The operation was canceled.
|
Tests (8.2)
The job was canceled because "_8_4" failed.
|
Tests (8.2)
The operation was canceled.
|
Tests (8.1)
The job was canceled because "_8_4" failed.
|
Tests (8.1)
The operation was canceled.
|
Tests (8.3)
The job was canceled because "_8_4" failed.
|
Tests (8.3)
A task was canceled.
|
Tests (8.2)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Tests (8.1)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Tests (8.0)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Tests (8.4)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Analysis (8.3)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Tests (8.4)
The `set-output` 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.0)
The `set-output` 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)
The `set-output` 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.1):
src/InotifyStream.php#L50
Escaped Mutant for Mutator "LogicalOr":
--- Original
+++ New
@@ @@
public function __construct(?LoopInterface $loop = null)
{
$inotify = inotify_init();
- if (!is_resource($inotify) || get_resource_type($inotify) !== 'stream') {
+ if (!is_resource($inotify) && get_resource_type($inotify) !== 'stream') {
throw new InvalidArgumentException('Call to `inotify_init()` did not succeed');
}
// this class relies on non-blocking I/O in order to not interrupt
|
Tests (8.1):
src/InotifyStream.php#L61
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
// this class relies on non-blocking I/O in order to not interrupt
// the event loop e.g. pipes on Windows do not support this:
// https://bugs.php.net/bug.php?id=47918
- if (stream_set_blocking($inotify, false) !== true) {
+ if (stream_set_blocking($inotify, true) !== true) {
throw new RuntimeException('Unable to set stream resource to non-blocking mode');
}
// Use unbuffered read operations on the underlying stream resource.
|
Tests (8.1):
src/InotifyStream.php#L73
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
// trigger events on (edge triggered).
// This does not affect the default event loop implementation (level
// triggered), so we can ignore platforms not supporting this (HHVM).
- if (function_exists('stream_set_read_buffer')) {
+ if (!function_exists('stream_set_read_buffer')) {
stream_set_read_buffer($inotify, 0);
}
$this->inotify = $inotify;
|
Tests (8.1):
src/InotifyStream.php#L74
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
// This does not affect the default event loop implementation (level
// triggered), so we can ignore platforms not supporting this (HHVM).
if (function_exists('stream_set_read_buffer')) {
- stream_set_read_buffer($inotify, 0);
+ stream_set_read_buffer($inotify, -1);
}
$this->inotify = $inotify;
$this->loop = $loop ?? \React\EventLoop\Loop::get();
|
Tests (8.1):
src/InotifyStream.php#L74
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
// This does not affect the default event loop implementation (level
// triggered), so we can ignore platforms not supporting this (HHVM).
if (function_exists('stream_set_read_buffer')) {
- stream_set_read_buffer($inotify, 0);
+ stream_set_read_buffer($inotify, 1);
}
$this->inotify = $inotify;
$this->loop = $loop ?? \React\EventLoop\Loop::get();
|
Tests (8.1):
src/InotifyStream.php#L74
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
// This does not affect the default event loop implementation (level
// triggered), so we can ignore platforms not supporting this (HHVM).
if (function_exists('stream_set_read_buffer')) {
- stream_set_read_buffer($inotify, 0);
+
}
$this->inotify = $inotify;
$this->loop = $loop ?? \React\EventLoop\Loop::get();
|
Tests (8.1):
src/InotifyStream.php#L78
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
stream_set_read_buffer($inotify, 0);
}
$this->inotify = $inotify;
- $this->loop = $loop ?? \React\EventLoop\Loop::get();
+ $this->loop = \React\EventLoop\Loop::get() ?? $loop;
$this->loop->addReadStream($this->inotify, [$this, 'handleData']);
}
public function __destruct()
|
Tests (8.1):
src/InotifyStream.php#L80
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
$this->inotify = $inotify;
$this->loop = $loop ?? \React\EventLoop\Loop::get();
- $this->loop->addReadStream($this->inotify, [$this, 'handleData']);
+ $this->loop->addReadStream($this->inotify, ['handleData']);
}
public function __destruct()
{
|
Tests (8.1):
src/InotifyStream.php#L80
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$this->inotify = $inotify;
$this->loop = $loop ?? \React\EventLoop\Loop::get();
- $this->loop->addReadStream($this->inotify, [$this, 'handleData']);
+
}
public function __destruct()
{
|
Tests (8.1):
src/InotifyStream.php#L85
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function __destruct()
{
- $this->loop->removeReadStream($this->inotify);
+
if (is_resource($this->inotify)) {
fclose($this->inotify);
}
|
Tests (8.1)
The `set-output` 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/
|
Analysis (8.3)
The `set-output` 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/
|