Bump symfony/process from 6.3.0 to 6.4.14 #1569
Annotations
4 warnings
Infection [8.1, locked]:
src/GeneratedHydrator/CodeGenerator/Visitor/HydratorMethodsVisitor.php#L52
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
{
foreach ($this->findAllInstanceProperties($reflectedClass) as $property) {
$className = $property->getDeclaringClass()->getName();
- if ($property->isPrivate() || $property->isProtected()) {
+ if (!$property->isPrivate() || !$property->isProtected()) {
$this->hiddenPropertyMap[$className][] = ObjectProperty::fromReflection($property);
} else {
$this->visiblePropertyMap[] = ObjectProperty::fromReflection($property);
|
Infection [8.1, locked]:
src/GeneratedHydrator/CodeGenerator/Visitor/HydratorMethodsVisitor.php#L66
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$node instanceof Class_) {
return null;
}
- $node->stmts[] = new Property(Class_::MODIFIER_PRIVATE, [new PropertyProperty('hydrateCallbacks', new Array_()), new PropertyProperty('extractCallbacks', new Array_())]);
+ $node->stmts[] = new Property(Class_::MODIFIER_PRIVATE, [new PropertyProperty('extractCallbacks', new Array_())]);
$this->replaceConstructor($this->findOrCreateMethod($node, '__construct'));
$this->replaceHydrate($this->findOrCreateMethod($node, 'hydrate'));
$this->replaceExtract($this->findOrCreateMethod($node, 'extract'));
|
Infection [8.1, locked]:
src/GeneratedHydrator/Factory/HydratorFactory.php#L28
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
/** @psalm-param Configuration<HydratedObject> $configuration */
public function __construct(Configuration $configuration)
{
- $this->configuration = clone $configuration;
+ $this->configuration = $configuration;
}
/**
* Retrieves the generated hydrator FQCN
|
Infection [8.1, locked]:
src/GeneratedHydrator/Factory/HydratorFactory.php#L44
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
/** @psalm-var class-string $realClassName */
$realClassName = $inflector->getUserClassName($this->configuration->getHydratedClassName());
/** @psalm-var class-string<GeneratedHydrator<HydratedObject>> $hydratorClassName */
- $hydratorClassName = $inflector->getGeneratedClassName($realClassName, ['factory' => static::class]);
+ $hydratorClassName = $inflector->getGeneratedClassName($realClassName, []);
if (!class_exists($hydratorClassName) && $this->configuration->doesAutoGenerateProxies()) {
$generator = $this->configuration->getHydratorGenerator();
$originalClass = new ReflectionClass($realClassName);
|
Loading