Fix #491 - Allow the COLLATE keyword in WHERE clauses #439
Annotations
3 warnings
Mutation tests with PHP 8.1:
src/Components/Condition.php#L89
Escaped Mutant for Mutator "UnwrapTrim":
--- Original
+++ New
@@ @@
*/
public function __construct($expr = null)
{
- $this->expr = trim((string) $expr);
+ $this->expr = (string) $expr;
}
/**
* @param Parser $parser the parser that serves as context
|
Mutation tests with PHP 8.1:
src/Components/Condition.php#L150
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
if (in_array($token->value, static::$delimiters, true)) {
if ($betweenBefore && $token->value === 'AND') {
// The syntax of keyword `BETWEEN` is hard-coded.
- $betweenBefore = false;
+ $betweenBefore = true;
} else {
// The expression ended.
$expr->expr = trim($expr->expr);
|
Mutation tests with PHP 8.1
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/
|