Skip to content

Update actions/checkout action to v4 #569

Update actions/checkout action to v4

Update actions/checkout action to v4 #569

Triggered via push September 4, 2023 14:16
Status Success
Total duration 7m 30s
Artifacts
Matrix: Mutation tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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);