[Git][reproducible-builds/reproducible-website][master] 2 commits: PHP: declare SOURCE_DATE_EPOCH as an integer, as expected in strict mode.

Mattia Rizzolo gitlab at salsa.debian.org
Mon Mar 18 05:45:33 CET 2019


Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-website


Commits:
9db54384 by David Prévot at 2019-03-18T03:22:47Z
PHP: declare SOURCE_DATE_EPOCH as an integer, as expected in strict mode.
- - - - -
78e852cb by Mattia Rizzolo at 2019-03-18T04:45:13Z
Merge branch 'patch-1' of salsa.debian.org:taffit/reproducible-website

MR: https://salsa.debian.org/reproducible-builds/reproducible-website/merge_requests/27
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- _docs/source-date-epoch.md


Changes:

=====================================
_docs/source-date-epoch.md
=====================================
@@ -247,7 +247,7 @@ SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
 ### PHP
 
 ```
-date('Y', getenv('SOURCE_DATE_EPOCH') ?: time())
+\date('Y', (int)\getenv('SOURCE_DATE_EPOCH') ?: \time())
 ```
 
 ### Emacs-Lisp



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/ada3c4a0a01cd8b553e68fe0d77edcd7c9509abb...78e852cbe3628d971f574650f4ea29dbb2baab71

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/ada3c4a0a01cd8b553e68fe0d77edcd7c9509abb...78e852cbe3628d971f574650f4ea29dbb2baab71
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190318/1004f3b7/attachment.html>


More information about the rb-commits mailing list