Fix PHPStan #75
ci.yaml
on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
20 warnings
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test for mutants (ubuntu-latest, 8.1):
src/Adapter/ClockAdapterFactory.php#L18
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($clock instanceof Clock) {
return $clock;
}
- if ($clock instanceof SymfonyClock) {
+ if (false) {
return new SymfonyToOrisaiClockAdapter($clock);
}
return new PsrToOrisaiClockAdapter($clock);
}
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public function sleep(float|int $seconds) : void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(-1, 0, (int) round($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone) : static
{
|
Test for mutants (ubuntu-latest, 8.1):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public function sleep(float|int $seconds) : void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(0, -1, (int) round($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone) : static
{
|
Test for mutants (ubuntu-latest, 8.1):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "RoundingFamily":
--- Original
+++ New
@@ @@
}
public function sleep(float|int $seconds) : void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(0, 0, (int) ceil($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone) : static
{
|
Test for mutants (ubuntu-latest, 8.1):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L42
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
}
public function withTimeZone(DateTimeZone|string $timezone) : static
{
- $clone = clone $this;
+ $clone = $this;
$clone->timeZone = is_string($timezone) ? new DateTimeZone($timezone) : $timezone;
return $clone;
}
}
|
Test for mutants (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (windows-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
2.2 KB |
|