Allow specifying direct dependencies #291
Annotations
1 error and 1 warning
PHP 8.3 on ubuntu-latest Composer v2 (highest)
Process completed with exit code 1.
|
PHP 8.3 on ubuntu-latest Composer v2 (highest):
src/PackageDiff.php#L94
Escaped Mutant for Mutator "UnwrapArrayMerge":
@@ @@
*/
public function getPackageDiff($from, $to, $dev, $withPlatform, $onlyDirect = false)
{
- return $this->getDiff($this->loadPackages($from, $dev, $withPlatform), $this->loadPackages($to, $dev, $withPlatform), array_merge($this->getDirectPackages($from), $this->getDirectPackages($to)), $onlyDirect);
+ return $this->getDiff($this->loadPackages($from, $dev, $withPlatform), $this->loadPackages($to, $dev, $withPlatform), $this->getDirectPackages($from), $onlyDirect);
}
/**
* @param string $path
|