Sha256: 8e2e5a7c3fff3039ddf5bef1703aee29b3169233af318fbca5b79eb280bf3c41
Contents?: true
Size: 462 Bytes
Versions: 26
Compression:
Stored size: 462 Bytes
Contents
<?php declare(strict_types=1); namespace Dependabot\Composer; use Composer\Factory; class Hasher { public static function getContentHash(array $args): ?string { [$workingDirectory] = $args; $io = new ExceptionIO(); $composer = Factory::create($io, $workingDirectory . '/composer.json'); $locker = $composer->getLocker(); return $locker->getContentHash(file_get_contents(Factory::getComposerFile())); } }
Version data entries
26 entries across 26 versions & 1 rubygems