summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-07-03 02:52:16 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-07-25 00:53:25 +0200
commit8d3f8ca12a0b00f2a74a27424790222536235502 (patch)
treef35ddbdb8b5bc9259712d0275cb461ab7de9b7b9 /ext/gettext
parentdcd6a6ff367a91f8c03303a4dc2e3c8b17d692ed (diff)
downloadphp-git-8d3f8ca12a0b00f2a74a27424790222536235502.tar.gz
Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/config.m44
-rw-r--r--ext/gettext/config.w321
-rw-r--r--ext/gettext/gettext.c2
-rw-r--r--ext/gettext/php_gettext.h2
-rw-r--r--ext/gettext/tests/gettext_basic.phpt2
-rw-r--r--ext/gettext/tests/gettext_ngettext.phpt2
-rw-r--r--ext/gettext/tests/gettext_textdomain-wrongparams.phpt2
7 files changed, 4 insertions, 11 deletions
diff --git a/ext/gettext/config.m4 b/ext/gettext/config.m4
index c82be9cc05..8827bc669f 100644
--- a/ext/gettext/config.m4
+++ b/ext/gettext/config.m4
@@ -1,6 +1,4 @@
-dnl
-dnl $Id$
-dnl
+dnl config.m4 for extension gettext
PHP_ARG_WITH(gettext,for GNU gettext support,
[ --with-gettext[=DIR] Include GNU gettext support])
diff --git a/ext/gettext/config.w32 b/ext/gettext/config.w32
index 0755de2cd5..3e64465542 100644
--- a/ext/gettext/config.w32
+++ b/ext/gettext/config.w32
@@ -1,4 +1,3 @@
-// $Id$
// vim:ft=javascript
ARG_WITH("gettext", "gettext support", "no");
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c
index 98a1552067..f61b882b96 100644
--- a/ext/gettext/gettext.c
+++ b/ext/gettext/gettext.c
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/ext/gettext/php_gettext.h b/ext/gettext/php_gettext.h
index 1191035b08..f26c5a4035 100644
--- a/ext/gettext/php_gettext.h
+++ b/ext/gettext/php_gettext.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef PHP_GETTEXT_H
#define PHP_GETTEXT_H
diff --git a/ext/gettext/tests/gettext_basic.phpt b/ext/gettext/tests/gettext_basic.phpt
index 441ca57a83..b61cbf234a 100644
--- a/ext/gettext/tests/gettext_basic.phpt
+++ b/ext/gettext/tests/gettext_basic.phpt
@@ -10,7 +10,7 @@ Gettext basic test
}
?>
--FILE--
-<?php // $Id$
+<?php
chdir(dirname(__FILE__));
setlocale(LC_ALL, 'fi_FI');
diff --git a/ext/gettext/tests/gettext_ngettext.phpt b/ext/gettext/tests/gettext_ngettext.phpt
index d0f13020a1..01019a06a1 100644
--- a/ext/gettext/tests/gettext_ngettext.phpt
+++ b/ext/gettext/tests/gettext_ngettext.phpt
@@ -10,7 +10,7 @@ Test ngettext() functionality
}
?>
--FILE--
-<?php // $Id$
+<?php
chdir(dirname(__FILE__));
setlocale(LC_ALL, 'en_US.UTF-8');
bindtextdomain('dngettextTest', './locale');
diff --git a/ext/gettext/tests/gettext_textdomain-wrongparams.phpt b/ext/gettext/tests/gettext_textdomain-wrongparams.phpt
index 251ee9a21b..599e48ef35 100644
--- a/ext/gettext/tests/gettext_textdomain-wrongparams.phpt
+++ b/ext/gettext/tests/gettext_textdomain-wrongparams.phpt
@@ -10,7 +10,7 @@ Check how textdomain() with wrong parameters behaves.
}
?>
--FILE--
-<?php // $Id$
+<?php
chdir(dirname(__FILE__));
setlocale(LC_ALL, 'en_US.UTF-8');