Merge branch '5.8.x' #473
Annotations
11 warnings
src/Components/AlterOperation.php#L352
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
}
// Skipping comments.
if ($token->type === Token::TYPE_COMMENT) {
- continue;
+ break;
}
// Skipping whitespaces.
if ($token->type === Token::TYPE_WHITESPACE) {
|
src/Components/AlterOperation.php#L357
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
// Skipping whitespaces.
if ($token->type === Token::TYPE_WHITESPACE) {
- if ($state === 2) {
+ if ($state === 1) {
// When parsing the unknown part, the whitespaces are
// included to not break anything.
$ret->unknown[] = $token;
|
src/Components/AlterOperation.php#L371
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
// Not only when aliasing but also when parsing the body of an event, we just list the tokens of the
// body in the unknown tokens list, as they define their own statements.
if ($ret->options->has('AS') || $ret->options->has('DO')) {
- for (; $list->idx < $list->count; ++$list->idx) {
+ for (; $list->idx <= $list->count; ++$list->idx) {
if ($list->tokens[$list->idx]->type === Token::TYPE_DELIMITER) {
break;
}
|
src/Components/AlterOperation.php#L411
Escaped Mutant for Mutator "LogicalOr":
--- Original
+++ New
@@ @@
}
$state = 2;
} elseif ($state === 2) {
- if (is_string($token->value) || is_numeric($token->value)) {
+ if (is_string($token->value) && is_numeric($token->value)) {
$arrayKey = $token->value;
} else {
$arrayKey = $token->token;
|
src/Components/AlterOperation.php#L411
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
}
$state = 2;
} elseif ($state === 2) {
- if (is_string($token->value) || is_numeric($token->value)) {
+ if (!is_string($token->value) || !is_numeric($token->value)) {
$arrayKey = $token->value;
} else {
$arrayKey = $token->token;
|
src/Components/AlterOperation.php#L411
Escaped Mutant for Mutator "LogicalOrNegation":
--- Original
+++ New
@@ @@
}
$state = 2;
} elseif ($state === 2) {
- if (is_string($token->value) || is_numeric($token->value)) {
+ if (!(is_string($token->value) || is_numeric($token->value))) {
$arrayKey = $token->value;
} else {
$arrayKey = $token->token;
|
src/Components/AlterOperation.php#L411
Escaped Mutant for Mutator "LogicalOrSingleSubExprNegation":
--- Original
+++ New
@@ @@
}
$state = 2;
} elseif ($state === 2) {
- if (is_string($token->value) || is_numeric($token->value)) {
+ if (!is_string($token->value) || is_numeric($token->value)) {
$arrayKey = $token->value;
} else {
$arrayKey = $token->token;
|
src/Components/AlterOperation.php#L411
Escaped Mutant for Mutator "LogicalOrSingleSubExprNegation":
--- Original
+++ New
@@ @@
}
$state = 2;
} elseif ($state === 2) {
- if (is_string($token->value) || is_numeric($token->value)) {
+ if (is_string($token->value) || !is_numeric($token->value)) {
$arrayKey = $token->value;
} else {
$arrayKey = $token->token;
|
src/Components/AlterOperation.php#L472
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
$list->idx++;
// Ignore the current token
$nextToken = $list->getNext();
- if ($token->type === Token::TYPE_KEYWORD && ($token->keyword === 'PARTITION BY' || $token->keyword === 'PARTITION' && $nextToken && $nextToken->value !== '(')) {
+ if ($token->type === Token::TYPE_KEYWORD && ($token->keyword === 'PARTITION BY' || ($token->keyword === 'PARTITION' || $nextToken) && $nextToken->value !== '(')) {
$partitionState = 1;
} elseif ($token->type === Token::TYPE_KEYWORD && $token->keyword === 'PARTITION') {
$partitionState = 2;
|
src/Components/AlterOperation.php#L475
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
$nextToken = $list->getNext();
if ($token->type === Token::TYPE_KEYWORD && ($token->keyword === 'PARTITION BY' || $token->keyword === 'PARTITION' && $nextToken && $nextToken->value !== '(')) {
$partitionState = 1;
- } elseif ($token->type === Token::TYPE_KEYWORD && $token->keyword === 'PARTITION') {
+ } elseif ($token->type === Token::TYPE_KEYWORD || $token->keyword === 'PARTITION') {
$partitionState = 2;
}
--$list->idx;
|
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/
|
The logs for this run have expired and are no longer available.
Loading