summaryrefslogtreecommitdiff
path: root/ext/ext_skel.php
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-02-03 22:47:49 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-02-08 23:14:29 +0100
commitc245898bfaf47353a748ca6f2d37cd669e697ae4 (patch)
tree89f49e6a27aad852878c869a15ec509f62097eec /ext/ext_skel.php
parentc0ce258b539af2fb75517373e5c297fb84b80daa (diff)
downloadphp-git-c245898bfaf47353a748ca6f2d37cd669e697ae4.tar.gz
Update and fix remaining year ranges (2019)
This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
Diffstat (limited to 'ext/ext_skel.php')
-rwxr-xr-xext/ext_skel.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ext_skel.php b/ext/ext_skel.php
index a03f40a5d8..ff41ee8ccf 100755
--- a/ext/ext_skel.php
+++ b/ext/ext_skel.php
@@ -183,7 +183,6 @@ function process_source_tags($file, $short_name) {
if (!$header) {
if ($options['std']) {
- $year = date('Y');
$author_len = strlen($options['author']);
$credits = $options['author'] . ($author_len && $author_len <= 60 ? str_repeat(' ', 60 - $author_len) : '');
@@ -192,7 +191,7 @@ function process_source_tags($file, $short_name) {
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-$year The PHP Group |
+ | Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |