Translated using Weblate (Korean) #690
Annotations
11 warnings
|
Mutation tests with PHP 8.2
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/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
Mutation tests with PHP 8.2:
src/Components/CreateDefinition.php#L96
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
}
if (! empty($this->references)) {
- $tmp .= 'REFERENCES ' . $this->references . ' ';
+ $tmp .= 'REFERENCES ' . $this->references;
}
$tmp .= $this->options;
|
|
Mutation tests with PHP 8.2:
src/Components/CreateDefinition.php#L79
Escaped Mutant for Mutator "Assignment":
@@ @@
$tmp = '';
if ($this->isConstraint) {
- $tmp .= 'CONSTRAINT ';
+ $tmp = 'CONSTRAINT ';
}
if (isset($this->name) && ($this->name !== '')) {
|
|
Mutation tests with PHP 8.2:
src/Components/Condition.php#L37
Escaped Mutant for Mutator "UnwrapTrim":
@@ @@
/** @param string $expr the condition or the operator */
public function __construct(string|null $expr = null)
{
- $this->expr = trim((string) $expr);
+ $this->expr = (string) $expr;
}
public function build(): string
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
// Syntax type 1
$valuesCount = count($this->conditions);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i < $valuesCount || $i < $resultsCount; ++$i) {
$ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LessThan":
@@ @@
// Syntax type 1
$valuesCount = count($this->conditions);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i < $valuesCount && $i <= $resultsCount; ++$i) {
$ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LessThan":
@@ @@
// Syntax type 1
$valuesCount = count($this->conditions);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i <= $valuesCount && $i < $resultsCount; ++$i) {
$ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
$ret .= $this->value . ' ';
$valuesCount = count($this->compareValues);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i < $valuesCount || $i < $resultsCount; ++$i) {
$ret .= 'WHEN ' . $this->compareValues[$i] . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LessThan":
@@ @@
$ret .= $this->value . ' ';
$valuesCount = count($this->compareValues);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i < $valuesCount && $i <= $resultsCount; ++$i) {
$ret .= 'WHEN ' . $this->compareValues[$i] . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LessThan":
@@ @@
$ret .= $this->value . ' ';
$valuesCount = count($this->compareValues);
$resultsCount = count($this->results);
- for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) {
+ for ($i = 0; $i <= $valuesCount && $i < $resultsCount; ++$i) {
$ret .= 'WHEN ' . $this->compareValues[$i] . ' ';
$ret .= 'THEN ' . $this->results[$i] . ' ';
}
|
|
Mutation tests with PHP 8.2:
src/Components/AlterOperation.php#L70
Escaped Mutant for Mutator "Concat":
@@ @@
$ret .= $this->field . ' ';
}
- $ret .= $afterFieldsOptions . TokensList::buildFromArray($this->unknown);
+ $ret .= TokensList::buildFromArray($this->unknown) . $afterFieldsOptions;
if (isset($this->partitions)) {
$ret .= PartitionDefinitions::buildAll($this->partitions);
|