Commit: 89fe54d765e195876bbbdc6b95fd4bc1359f8960 Author: Peter Kokot <peterko...@gmail.com> Mon, 2 Jul 2018 02:49:25 +0200 Committer: Nikita Popov <nikita....@gmail.com> Mon, 17 Sep 2018 08:35:02 +0200 Parents: 38ed11c75aa17d72690c90d1baec4a196ce4f1f7 Branches: master
Link: http://git.php.net/?p=web/gcov.git;a=commitdiff;h=89fe54d765e195876bbbdc6b95fd4bc1359f8960 Log: 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. Changed paths: M cron/check_parameters.php M cron/compile_results.php M cron/config.php M cron/cron.php M cron/cron.sh M cron/database.php M cron/find_tested.php M cron/graph.php M cron/system.php M cron/tests.php M www/compile_results.php M www/config.php M www/expected_tests.php M www/graph.php M www/index.php M www/lcov.php M www/params.php M www/site.api.php M www/skip.php M www/stats.php M www/system.php M www/template.php M www/tested_functions.php M www/tests.php M www/valgrind.php M www/viewer.php
diff --git a/cron/check_parameters.php b/cron/check_parameters.php index ee00e49..eac8e46 100644 --- a/cron/check_parameters.php +++ b/cron/check_parameters.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // check for zend_parse_parameters*() and related functions usage // TODO: add support for zend_get_parameters*() diff --git a/cron/compile_results.php b/cron/compile_results.php index e163786..9e43838 100644 --- a/cron/compile_results.php +++ b/cron/compile_results.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Compile Results generation script $data = file_get_contents("$tmpdir/php_build.log"); diff --git a/cron/config.php b/cron/config.php index fc9f1f8..51c8054 100644 --- a/cron/config.php +++ b/cron/config.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Cron configuration file for the PHP scripts diff --git a/cron/cron.php b/cron/cron.php index 2bcc48a..b95cd07 100644 --- a/cron/cron.php +++ b/cron/cron.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if ($argc != 7) { diff --git a/cron/cron.sh b/cron/cron.sh index 3564484..5c575b6 100755 --- a/cron/cron.sh +++ b/cron/cron.sh @@ -17,8 +17,6 @@ # | Nuno Lopes <nlop...@php.net> | # +----------------------------------------------------------------------+ -# $Id: cron.sh,v 1.11 2009-01-14 20:07:11 nlopess Exp $ - source ./config.sh export LC_ALL=C export CCACHE_DISABLE=1 diff --git a/cron/database.php b/cron/database.php index 2ff88c6..a185b35 100644 --- a/cron/database.php +++ b/cron/database.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Database connection script /* diff --git a/cron/find_tested.php b/cron/find_tested.php index f37834a..c1b0fd7 100644 --- a/cron/find_tested.php +++ b/cron/find_tested.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - $usage = <<<USAGE Usage: php find_tested.php [path_to_test_files] ([extension]) diff --git a/cron/graph.php b/cron/graph.php index 73ec7b3..be22c07 100644 --- a/cron/graph.php +++ b/cron/graph.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // File to generate graphs for a weekly or monthly basis /* diff --git a/cron/system.php b/cron/system.php index 2eab328..97f38e0 100644 --- a/cron/system.php +++ b/cron/system.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // This file gathers the essential information regarding the configuration for the build // Configure Section diff --git a/cron/tests.php b/cron/tests.php index dae7e5f..14ef797 100644 --- a/cron/tests.php +++ b/cron/tests.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Tests generation file // $data: contains the contents of $tmpdir/php_test.log diff --git a/www/compile_results.php b/www/compile_results.php index 5221032..a39807c 100644 --- a/www/compile_results.php +++ b/www/compile_results.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/compile_results.inc"; diff --git a/www/config.php b/www/config.php index 9fcb11e..079ddfa 100644 --- a/www/config.php +++ b/www/config.php @@ -19,8 +19,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // File: Core Site Configuration File // Desc: contains core site settings, this file is essential and always included by the API. diff --git a/www/expected_tests.php b/www/expected_tests.php index 8384b96..cf85e1c 100644 --- a/www/expected_tests.php +++ b/www/expected_tests.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id: tests.php 261059 2008-06-11 17:50:36Z nlopess $ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/xfail.inc"; diff --git a/www/graph.php b/www/graph.php index 79a50c4..24ed0ec 100644 --- a/www/graph.php +++ b/www/graph.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; // available graph periods diff --git a/www/index.php b/www/index.php index 259ccc7..e154792 100644 --- a/www/index.php +++ b/www/index.php @@ -19,8 +19,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Include the site API include 'site.api.php'; diff --git a/www/lcov.php b/www/lcov.php index 725d7aa..6ea6c80 100644 --- a/www/lcov.php +++ b/www/lcov.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; diff --git a/www/params.php b/www/params.php index 9388889..e2d6eb2 100644 --- a/www/params.php +++ b/www/params.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/check_params.inc"; diff --git a/www/site.api.php b/www/site.api.php index 5c5d40d..dda4511 100644 --- a/www/site.api.php +++ b/www/site.api.php @@ -19,8 +19,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // File: Core Site API File // Desc: contains core display functions, it is essential for all pages to include this file. diff --git a/www/skip.php b/www/skip.php index f1629e1..41b27bb 100644 --- a/www/skip.php +++ b/www/skip.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/skip.inc"; diff --git a/www/stats.php b/www/stats.php index ba22113..7585718 100644 --- a/www/stats.php +++ b/www/stats.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id $ */ - if (!defined('IN_GCOV_CODE')) exit; $stmt = $mysqlconn->prepare('SELECT * FROM versions WHERE version_name=?'); diff --git a/www/system.php b/www/system.php index ca2952f..95d8567 100644 --- a/www/system.php +++ b/www/system.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; diff --git a/www/template.php b/www/template.php index b0682cc..f302d12 100644 --- a/www/template.php +++ b/www/template.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // file description // Include the site API diff --git a/www/tested_functions.php b/www/tested_functions.php index 2b448ec..36ddbc1 100644 --- a/www/tested_functions.php +++ b/www/tested_functions.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; diff --git a/www/tests.php b/www/tests.php index ec4b1cd..3d1f1c4 100644 --- a/www/tests.php +++ b/www/tests.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/fail.inc"; diff --git a/www/valgrind.php b/www/valgrind.php index 100d6de..adc0ad8 100644 --- a/www/valgrind.php +++ b/www/valgrind.php @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - if (!defined('IN_GCOV_CODE')) exit; $inputfile = "./$version/valgrind.inc"; diff --git a/www/viewer.php b/www/viewer.php index bf70eb3..118dc4f 100644 --- a/www/viewer.php +++ b/www/viewer.php @@ -18,8 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - // Name: GCOV Viewer page // Desc: page for view PHP version information such as code coverage
-- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php