Skip to content

Bump symfony/process from 5.3.2 to 5.4.46 #806

Bump symfony/process from 5.3.2 to 5.4.46

Bump symfony/process from 5.3.2 to 5.4.46 #806

Triggered via pull request November 6, 2024 19:14
Status Success
Total duration 5m 53s
Artifacts

mutation-tests.yml

on: pull_request
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Mutation tests (locked, 8.0, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Exception/FileNotWritableException.php#L44
Escaped Mutant: --- Original +++ New @@ @@ } public static function fromPrevious(FileWriterException $previous) : self { - return new self($previous->getMessage(), 0, $previous); + return new self($previous->getMessage(), -1, $previous); } }
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Exception/FileNotWritableException.php#L44
Escaped Mutant: --- Original +++ New @@ @@ } public static function fromPrevious(FileWriterException $previous) : self { - return new self($previous->getMessage(), 0, $previous); + return new self($previous->getMessage(), 1, $previous); } }
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Factory/AbstractBaseFactory.php#L65
Escaped Mutant: --- Original +++ New @@ @@ assert(is_a($generatedClassName, $className, true)); return $generatedClassName; } - $proxyParameters = ['className' => $className, 'factory' => static::class, 'proxyManagerVersion' => Version::getVersion(), 'proxyOptions' => $proxyOptions]; + $proxyParameters = ['factory' => static::class, 'proxyManagerVersion' => Version::getVersion(), 'proxyOptions' => $proxyOptions]; $proxyClassName = $this->configuration->getClassNameInflector()->getProxyClassName($className, $proxyParameters); if (!class_exists($proxyClassName)) { $this->generateProxyClass($proxyClassName, $className, $proxyParameters, $proxyOptions);
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Factory/RemoteObjectFactory.php#L66
Escaped Mutant: --- Original +++ New @@ @@ } protected function getGenerator() : ProxyGeneratorInterface { - return $this->generator ?? ($this->generator = new RemoteObjectGenerator()); + return ($this->generator = new RemoteObjectGenerator()) ?? $this->generator; } }
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Generator/MagicMethodGenerator.php#L28
Escaped Mutant: --- Original +++ New @@ @@ public function __construct(ReflectionClass $originalClass, string $name, array $parameters = []) { parent::__construct($name, $parameters, self::FLAG_PUBLIC); - $this->setReturnsReference(strtolower($name) === '__get'); + $this->setReturnsReference($name === '__get'); if (!$originalClass->hasMethod($name)) { return; }
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Generator/MethodGenerator.php#L24
Escaped Mutant: --- Original +++ New @@ @@ { /** @var static $method */ $method = parent::copyMethodSignature($reflectionMethod); - $method->setInterface(false); + $method->setBody(''); return $method; }
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Generator/MethodGenerator.php#L25
Escaped Mutant: --- Original +++ New @@ @@ /** @var static $method */ $method = parent::copyMethodSignature($reflectionMethod); $method->setInterface(false); - $method->setBody(''); + return $method; } /**
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Generator/Util/IdentifierSuffixer.php#L39
Escaped Mutant: --- Original +++ New @@ @@ { /** @var string|null $salt */ static $salt; - $salt ??= self::loadBaseHashSalt(); + $salt = self::loadBaseHashSalt(); $suffix = substr(sha1($name . $salt), 0, 5); if (!preg_match(self::VALID_IDENTIFIER_FORMAT, $name)) { return self::DEFAULT_IDENTIFIER . $suffix;
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/Generator/Util/IdentifierSuffixer.php#L39
Escaped Mutant: --- Original +++ New @@ @@ { /** @var string|null $salt */ static $salt; - $salt ??= self::loadBaseHashSalt(); + $salt = self::loadBaseHashSalt(); $suffix = substr(sha1($name . $salt), 0, 5); if (!preg_match(self::VALID_IDENTIFIER_FORMAT, $name)) { return self::DEFAULT_IDENTIFIER . $suffix;
Mutation tests (locked, 8.0, ubuntu-latest): src/ProxyManager/ProxyGenerator/AccessInterceptor/MethodGenerator/SetMethodPrefixInterceptor.php#L30
Escaped Mutant: --- Original +++ New @@ @@ { parent::__construct('setMethodPrefixInterceptor'); $interceptor = new ParameterGenerator('prefixInterceptor'); - $interceptor->setType(Closure::class); + $interceptor->setDefaultValue(null); $this->setParameter(new ParameterGenerator('methodName', 'string')); $this->setParameter($interceptor);