Fix field name for when parsing index hints #575
Annotations
10 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/Parser.php#L373
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
*/
public function __construct(string|UtfString|TokensList|null $list = null, bool $strict = false)
{
- if (Context::$keywords === []) {
+ if (Context::$keywords !== []) {
Context::load();
}
if (is_string($list) || $list instanceof UtfString) {
|
Infection:
src/Parser.php#L377
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if (Context::$keywords === []) {
Context::load();
}
- if (is_string($list) || $list instanceof UtfString) {
+ if (is_string($list) || false) {
$lexer = new Lexer($list, $strict);
$this->list = $lexer->list;
} elseif ($list instanceof TokensList) {
|
Infection:
src/Parser.php#L380
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if (is_string($list) || $list instanceof UtfString) {
$lexer = new Lexer($list, $strict);
$this->list = $lexer->list;
- } elseif ($list instanceof TokensList) {
+ } elseif (true) {
$this->list = $list;
}
$this->strict = $strict;
|
Infection:
src/Parser.php#L433
Escaped Mutant for Mutator "UnwrapStrToUpper":
--- Original
+++ New
@@ @@
$token = $list->tokens[$list->idx];
// `DELIMITER` is not an actual statement and it requires
// special handling.
- if ($token->type === TokenType::None && strtoupper($token->token) === 'DELIMITER') {
+ if ($token->type === TokenType::None && $token->token === 'DELIMITER') {
// Skipping to the end of this statement.
$list->getNextOfType(TokenType::Delimiter);
$prevLastIdx = $list->idx;
|
Infection:
src/Parser.php#L530
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
$statement->last = $list->idx;
$prevLastIdx = $list->idx;
// Handles unions.
- if (!empty($unionType) && $lastStatement instanceof SelectStatement && $statement instanceof SelectStatement) {
+ if (!empty($unionType) && true && $statement instanceof SelectStatement) {
/*
* This SELECT statement.
*
|
Infection:
src/Parser.php#L531
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
$statement->last = $list->idx;
$prevLastIdx = $list->idx;
// Handles unions.
- if (!empty($unionType) && $lastStatement instanceof SelectStatement && $statement instanceof SelectStatement) {
+ if (!empty($unionType) && $lastStatement instanceof SelectStatement && true) {
/*
* This SELECT statement.
*
|
Infection:
src/Parser.php#L563
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
// union ends.
$lastStatement->last = $statement->last;
$unionType = false;
- // Validate clause order
- $statement->validateClauseOrder($this, $list);
+
continue;
}
// Handles transactions.
|
Infection:
src/Parser.php#L589
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$lastTransaction = null;
}
- // Validate clause order
- $statement->validateClauseOrder($this, $list);
+
continue;
}
// Validate clause order
|
Get Composer cache directory
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