Tune pipeline #23
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Infection:
src/Locator/Locator.php#L27
Escaped Mutant for Mutator "UnwrapArrayValues":
--- Original
+++ New
@@ @@
{
$listSize = count($references);
$listedReferences = [];
- foreach (array_values($references) as $index => $reference) {
+ foreach ($references as $index => $reference) {
$listedReferences[] = new ListedReference($reference, $index + 1 == $listSize);
}
return $listedReferences;
|
Run Infection:
src/Parser/Ll1ParserFactory.php#L33
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
try {
$scheme = new TranslationScheme($locatorBuilder);
$parser = new Ll1Parser($this->getGrammar(), $this->createSourceReader($pointer), new TranslationSchemeApplier($scheme));
- $parser->loadLookupTable(__DIR__ . '/../../generated/LookupTable.php');
+
} catch (Throwable $e) {
throw new Exception\LL1ParserNotCreatedException($e);
}
|
Run Infection:
src/Parser/Ll1ParserFactory.php#L46
Escaped Mutant for Mutator "AssignCoalesce":
--- Original
+++ New
@@ @@
*/
private function getGrammar() : GrammarInterface
{
- return $this->grammar ??= GrammarLoader::loadFile(__DIR__ . '/../../spec/GrammarSpec.php');
+ return $this->grammar = GrammarLoader::loadFile(__DIR__ . '/../../spec/GrammarSpec.php');
}
/**
* @throws UnilexException
|
Run Infection:
src/Parser/TranslationScheme.php#L24
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
$t = $token->getShortcut();
switch ($symbol->getSymbolId()) {
case SymbolType::T_UNESCAPED:
- case SymbolType::T_SLASH:
case SymbolType::T_TILDE:
case SymbolType::T_ZERO:
case SymbolType::T_ONE:
|
Run Infection:
src/Parser/TranslationScheme.php#L24
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
switch ($symbol->getSymbolId()) {
case SymbolType::T_UNESCAPED:
case SymbolType::T_SLASH:
- case SymbolType::T_TILDE:
case SymbolType::T_ZERO:
case SymbolType::T_ONE:
$s['s.text'] = $t['text'];
|
Run Infection:
src/Parser/TranslationScheme.php#L41
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$symbols = $production->getSymbolListShortcut();
$hash = "{$production->getHeader()->getSymbolId()}.{$production->getIndex()}";
switch ($hash) {
- case SymbolType::NT_REFERENCE . '.0':
+ case SymbolType::NT_REFERENCE:
// [ 0:NT_REFERENCE_PART, 1:NT_REFERENCE ]
case SymbolType::NT_ESCAPED . '.0':
// [ 0:T_TILDE, 1:NT_ESCAPED_SYMBOL ]
|
Run Infection:
src/Parser/TranslationScheme.php#L43
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
switch ($hash) {
case SymbolType::NT_REFERENCE . '.0':
// [ 0:NT_REFERENCE_PART, 1:NT_REFERENCE ]
- case SymbolType::NT_ESCAPED . '.0':
+ case SymbolType::NT_ESCAPED:
// [ 0:T_TILDE, 1:NT_ESCAPED_SYMBOL ]
$header['s.text'] = $symbols[1]['s.text'];
break;
|
Run Infection:
src/Parser/TranslationScheme.php#L53
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
// [ ]
$header['s.text'] = $header['i.text'];
break;
- case SymbolType::NT_REFERENCE_PART . '.0':
+ case SymbolType::NT_REFERENCE_PART:
// [ 0:NT_UNESCAPED ]
case SymbolType::NT_REFERENCE_PART . '.1':
// [ 0:NT_ESCAPED ]
|
Run Infection:
src/Parser/TranslationScheme.php#L57
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
// [ 0:NT_UNESCAPED ]
case SymbolType::NT_REFERENCE_PART . '.1':
// [ 0:NT_ESCAPED ]
- case SymbolType::NT_UNESCAPED . '.0':
+ case SymbolType::NT_UNESCAPED:
// [ 0:T_UNESCAPED ]
case SymbolType::NT_UNESCAPED . '.1':
// [ 0:T_ZERO ]
|
Run Infection:
src/Parser/TranslationScheme.php#L66
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
// [ 0:T_ONE ]
$header['s.text'] = $symbols[0]['s.text'];
break;
- case SymbolType::NT_ESCAPED_SYMBOL . '.0':
+ case SymbolType::NT_ESCAPED_SYMBOL:
// [ 0:T_ZERO ]
$header['s.text'] = '~';
break;
|
The logs for this run have expired and are no longer available.
Loading