feat: Add init command
#182
Merged
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Infection:
core/Application/Application.php#L167
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
private static function applyPlugins(Container $container, array $plugins): void
{
foreach ($plugins as $plugin) {
- $plugin->configure($container);
+
}
}
}
|
|
Run Infection:
core/Application/Application.php#L166
Escaped Mutant for Mutator "Foreach_":
@@ @@
*/
private static function applyPlugins(Container $container, array $plugins): void
{
- foreach ($plugins as $plugin) {
+ foreach ([] as $plugin) {
$plugin->configure($container);
}
}
|
|
Run Infection:
core/Application/Application.php#L135
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$result = new RunResult($suiteResults, status: $status, duration: $duration);
$dispatcher->dispatch(new WorkerFinished());
- $dispatcher->dispatch(new SessionFinished($result));
+
return $result;
});
}
|
|
Run Infection:
core/Application/Application.php#L134
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$duration = \microtime(true) - $duration;
$result = new RunResult($suiteResults, status: $status, duration: $duration);
- $dispatcher->dispatch(new WorkerFinished());
+
$dispatcher->dispatch(new SessionFinished($result));
return $result;
});
|
|
Run Infection:
core/Application/Application.php#L131
Escaped Mutant for Mutator "Minus":
@@ @@
$suiteResult->status->isFailure() and $status = Status::Failed;
}
- $duration = \microtime(true) - $duration;
+ $duration = \microtime(true) + $duration;
$result = new RunResult($suiteResults, status: $status, duration: $duration);
$dispatcher->dispatch(new WorkerFinished());
|
|
Run Infection:
core/Application/Application.php#L113
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
# run a separate container scope to isolate services and plugins.
$suiteResult = $container->scope(
static function (Container $container) use ($filter, $config, $suiteProvider): ?SuiteResult {
- # Apply plugins first to have all interceptors before suite files scanning
- self::applyPlugins($container, self::resolvePlugins($config->plugins, SuitePlugins::class));
+
if (null === $suite = $suiteProvider->findSuite($config)) {
return null;
|
|
Run Infection:
core/Application/Application.php#L107
Escaped Mutant for Mutator "Foreach_":
@@ @@
# Iterate and run Test Suites
$suiteResults = [];
- foreach ($appConfig->suites as $config) {
+ foreach ([] as $config) {
# Resolve a Test Suite from config and
# run a separate container scope to isolate services and plugins.
$suiteResult = $container->scope(
@@ @@
if ($suiteResult === null) {
continue;
}
-
$suiteResults[] = $suiteResult;
$suiteResult->status->isFailure() and $status = Status::Failed;
}
|
|
Run Infection:
core/Application/Application.php#L99
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$dispatcher = $container->get(EventDispatcherInterface::class);
$dispatcher->dispatch(new SessionStarting());
- $dispatcher->dispatch(new WorkerStarting());
+
$suiteProvider = $container->get(SuiteProvider::class);
$status = Status::Passed;
|
|
Run Infection:
core/Application/Application.php#L98
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$filter = $container->get(Filter::class);
$dispatcher = $container->get(EventDispatcherInterface::class);
- $dispatcher->dispatch(new SessionStarting());
+
$dispatcher->dispatch(new WorkerStarting());
$suiteProvider = $container->get(SuiteProvider::class);
|
|
Run Infection:
core/Application/Application.php#L94
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
return $this->container->scope(static function (Container $container): RunResult {
$appConfig = $container->get(ApplicationConfig::class);
- self::applyPlugins($container, self::resolvePlugins($appConfig->plugins, ApplicationPlugins::class));
+
$filter = $container->get(Filter::class);
$dispatcher = $container->get(EventDispatcherInterface::class);
|
background
wait
wait-all
cancel
Loading