Bump symfony/process from 7.4.3 to 7.4.5 #142
Annotations
10 warnings
|
src/HtmlVisitor.php#L492
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
{
$className = match ($value::class) {
NullValue::class => 'null',
- EnumValue::class => 'enum-literal',
ScalarValue::class => match (\get_debug_type($value->getRawValue())) {
'bool' => $value->getRawValue() === true ? 'true' : 'false',
'int' => 'int-literal',
|
|
src/HtmlVisitor.php#L472
Escaped Mutant for Mutator "FalseValue":
@@ @@
private function printItems(FieldSet|ArgumentSet|EnumItemSet $set): string
{
$result = '';
- $previousHasDescription = false;
+ $previousHasDescription = true;
$isFirst = true;
foreach ($set as $item) {
$currentHasDescription = $item->getDescription() !== null;
|
|
src/HtmlVisitor.php#L461
Escaped Mutant for Mutator "Assignment":
@@ @@
{
$return = '';
foreach ($set as $directiveUsage) {
- $return .= $directiveUsage->accept($this);
+ $return = $directiveUsage->accept($this);
}
return $return;
}
|
|
src/HtmlVisitor.php#L423
Escaped Mutant for Mutator "Assignment":
@@ @@
$match = \preg_replace('/(?<=>).*?(?=<)/', self::LINK_TEXTS[$index], $match);
$match = \preg_replace('/(?<=title=").*?(?=")/', self::LINK_TITLES[$index], $match);
$match = \str_replace('class="typename"', 'class="floating-button"', $match);
- $result .= $match;
+ $result = $match;
}
return <<<EOL
<div class="floating-container">
|
|
src/HtmlVisitor.php#L419
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
$result = '';
$matches = [];
\preg_match_all('/(<a .+?<\/a>)/', $schemaString, $matches);
- foreach ($matches[0] as $index => $match) {
+ foreach ($matches[1] as $index => $match) {
$match = \preg_replace('/(?<=>).*?(?=<)/', self::LINK_TEXTS[$index], $match);
$match = \preg_replace('/(?<=title=").*?(?=")/', self::LINK_TITLES[$index], $match);
$match = \str_replace('class="typename"', 'class="floating-button"', $match);
|
|
src/HtmlVisitor.php#L376
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
$type instanceof NotNullType => self::printTypeLink($type->getInnerType()) . '<span class="exclamation-mark">!</span>',
$type instanceof ListType => '<span class="bracket-square">[</span>' . self::printTypeLink($type->getInnerType()) . '<span class="bracket-square">]</span>',
$type instanceof NamedType => self::printNamedTypeLink($type),
- default => throw new \InvalidArgumentException('Unknown type.'),
};
}
private static function printNamedTypeLink(NamedType $type): string
|
|
src/HtmlVisitor.php#L344
Escaped Mutant for Mutator "UnwrapStrReplace":
@@ @@
// Replace whitespace between tags but leave out
$html = \preg_replace('/>((\s+( ){1}\s*)|(\s*( ){1}\s+))</', '> <', $html);
// Replace empty line div with empty line containing (empty divs are ignored by browsers)
- return \str_replace('<div class="line"></div>', self::emptyLine(), $html);
+ return $html;
}
private static function generateRootTypeLink(Type $type, string $rootType): string
{
|
|
src/HtmlVisitor.php#L304
Escaped Mutant for Mutator "Continue_":
@@ @@
foreach ($directiveUsage->getArgumentValues() as $argument) {
// do not print default value
if ($argument->value->getRawValue() === $argument->argument->getDefaultValue()?->value->getRawValue()) {
- continue;
+ break;
}
$printableArgument = '<span class="argument-name">' . $argument->argument->getName() . '</span>';
$printableArgument .= '<span class="colon">:</span> ';
|
|
src/HtmlVisitor.php#L279
Escaped Mutant for Mutator "Assignment":
@@ @@
$defaultValue = '';
$link = '<span class="argument-type">' . self::printTypeLink($argument->getType()) . '</span>';
if ($argument->getDefaultValue() instanceof ArgumentValue) {
- $defaultValue .= ' <span class="equals">=</span> ';
+ $defaultValue = ' <span class="equals">=</span> ';
$defaultValue .= '<span class="argument-value">' . $this->printValue($argument->getDefaultValue()->value) . '</span>';
}
return <<<EOL
|
|
src/HtmlVisitor.php#L51
Escaped Mutant for Mutator "Coalesce":
@@ @@
private FieldCollector $fieldCollector;
public function __construct(?FieldCollector $fieldCollector = null)
{
- $this->fieldCollector = $fieldCollector ?? new AllFieldCollector();
+ $this->fieldCollector = new AllFieldCollector() ?? $fieldCollector;
}
#[\Override]
public function visitSchema(Schema $schema): string
|
The logs for this run have expired and are no longer available.
Loading