We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b66b72c commit 69d7782Copy full SHA for 69d7782
src/Composer/ComposerOutdatedResponseProvider.php
@@ -39,11 +39,11 @@ public function provide(): string
39
private function resolveProjectComposerHash(): ?string
40
{
41
if (file_exists(getcwd() . '/composer.lock')) {
42
- return sha1(getcwd() . '/composer.lock');
+ return md5_file(getcwd() . '/composer.lock');
43
}
44
45
if (file_exists(getcwd() . '/composer.json')) {
46
- return getcwd() . '/composer.json';
+ return md5_file(getcwd() . '/composer.json');
47
48
49
return null;
0 commit comments