Commit 9db54384 authored by David Prévot's avatar David Prévot

PHP: declare SOURCE_DATE_EPOCH as an integer, as expected in strict mode.

parent ada3c4a0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment