Skip to content

Commit 763a0b6

Browse files
authored
Merge pull request #310 from DavidPrevot/reproducible
Make the build reproducible
2 parents a3dd8bd + f954580 commit 763a0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function getVersion() {
6868
}
6969

7070
public function getInfoString() {
71-
return 'phpDox ' . $this->getVersion() . " - Copyright (C) 2010 - " . date('Y') . " by Arne Blankerts and Contributors";
71+
return 'phpDox ' . $this->getVersion() . " - Copyright (C) 2010 - " . date('Y', getenv('SOURCE_DATE_EPOCH') ?: time()) . " by Arne Blankerts and Contributors";
7272
}
7373

7474
public function getGeneratedByString() {

0 commit comments

Comments
 (0)