Update dependency mkdocs-material to v9.5.8 #2178
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Infection:
src/Aggregate/AggregateRoot.php#L28
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
{
}
public abstract function aggregateRootId() : string;
- protected function apply(object $event) : void
+ private function apply(object $event) : void
{
$metadata = self::metadata();
if (!array_key_exists($event::class, $metadata->applyMethods)) {
|
Infection:
src/Aggregate/AggregateRoot.php#L58
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
*
* @param list<object> $events
*/
- public final function catchUp(array $events) : void
+ protected final function catchUp(array $events) : void
{
foreach ($events as $event) {
$this->playhead++;
|
Infection:
src/Console/Command/DatabaseCreateCommand.php#L57
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
$tempConnection = $this->helper->copyConnectionWithoutDatabase($connection);
$ifNotExists = InputHelper::bool($input->getOption('if-not-exists'));
$hasDatabase = $this->helper->hasDatabase($tempConnection, $databaseName);
- if ($ifNotExists && $hasDatabase) {
+ if ($ifNotExists || $hasDatabase) {
$console->warning(sprintf('Database "%s" already exists. Skipped.', $databaseName));
$tempConnection->close();
return 0;
|
Infection:
src/Console/Command/DatabaseCreateCommand.php#L59
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$hasDatabase = $this->helper->hasDatabase($tempConnection, $databaseName);
if ($ifNotExists && $hasDatabase) {
$console->warning(sprintf('Database "%s" already exists. Skipped.', $databaseName));
- $tempConnection->close();
+
return 0;
}
try {
|
Infection:
src/Console/Command/DatabaseCreateCommand.php#L69
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$console->success(sprintf('Created database "%s"', $databaseName));
} catch (Throwable $e) {
$console->error(sprintf('Could not create database "%s"', $databaseName));
- $console->error($e->getMessage());
+
$tempConnection->close();
return 2;
}
|
Infection:
src/Console/Command/DatabaseCreateCommand.php#L71
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
} catch (Throwable $e) {
$console->error(sprintf('Could not create database "%s"', $databaseName));
$console->error($e->getMessage());
- $tempConnection->close();
+
return 2;
}
$tempConnection->close();
|
Infection:
src/Console/Command/DatabaseCreateCommand.php#L76
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$tempConnection->close();
return 2;
}
- $tempConnection->close();
+
return 0;
}
}
|
Infection:
src/Console/Command/DatabaseDropCommand.php#L58
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$force = InputHelper::bool($input->getOption('force'));
if (!$force) {
$console->caution('This operation should not be executed in a production environment.');
- $console->warning(sprintf('Would drop the database "%s". Please run the operation with --force to execute.', $databaseName));
+
$console->caution('All data will be lost!');
return 2;
}
|
Infection:
src/Console/Command/DatabaseDropCommand.php#L59
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
if (!$force) {
$console->caution('This operation should not be executed in a production environment.');
$console->warning(sprintf('Would drop the database "%s". Please run the operation with --force to execute.', $databaseName));
- $console->caution('All data will be lost!');
+
return 2;
}
$ifExists = InputHelper::bool($input->getOption('if-exists'));
|
Infection:
src/Console/Command/DatabaseDropCommand.php#L67
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
$ifExists = InputHelper::bool($input->getOption('if-exists'));
$hasDatabase = $this->helper->hasDatabase($tempConnection, $databaseName);
- if ($ifExists && !$hasDatabase) {
+ if ($ifExists || !$hasDatabase) {
$console->warning(sprintf('Database "%s" doesn\'t exist. Skipped.', $databaseName));
return 0;
}
|
The logs for this run have expired and are no longer available.
Loading