From dd8d8bf8636f86d10ee3734d690b49b188568fe1 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 17 Oct 2018 12:37:26 +0200 Subject: [PATCH] Sync final and leading newlines This patch adds some missing newlines, trims some multiple redundant final newlines into a single one, and trims few redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-'' characters plus a terminating '' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2 --- .router.php | 1 - ChangeLog-5.php | 1 - archive/1998.php | 1 - archive/1999.php | 1 - archive/2000.php | 1 - archive/2009.php | 1 - archive/2013.php | 1 - archive/2014.php | 1 - archive/2015.php | 1 - archive/2016.php | 1 - archive/2017.php | 1 - archive/2018.php | 1 - archive/entries/2016-03-01-1.xml | 2 +- archive/entries/2016-03-31-3.xml | 2 +- archive/entries/2016-04-05-1.xml | 2 +- archive/entries/2016-11-02-1.xml | 2 +- archive/entries/2016-11-10-2.xml | 1 - archive/entries/2016-12-27-1.xml | 2 +- archive/entries/2017-05-09-1.xml | 2 +- archive/entries/2017-11-06-1.xml | 2 +- archive/entries/2018-03-23-1.xml | 2 +- archive/entries/2018-04-23-1.xml | 2 +- archive/index.php | 1 - backend/ip-to-country.idx | 1 - bin/bumpRelease | 1 - bin/createNewsEntry | 1 - cached.php | 2 -- conferences/index.php | 1 - fonts/Fira/fira.css | 1 - fonts/Font-Awesome/LICENSE.txt | 2 -- fonts/Font-Awesome/config.json | 2 +- fonts/Font-Awesome/css/fontello-codes.css | 3 +-- fonts/Font-Awesome/css/fontello-embedded.css | 2 +- fonts/Font-Awesome/css/fontello-ie7-codes.css | 3 +-- fonts/Font-Awesome/css/fontello-ie7.css | 2 +- get-involved.php | 1 - images/elephpants.php | 1 - images/logo.php | 2 -- include/countries-alpha2.inc | 2 +- include/countries.inc | 1 - include/do-download.inc | 1 - include/footer.inc | 1 - include/get-download.inc | 1 - include/last_updated.inc | 1 - include/layout.inc | 1 - include/manual-lookup.inc | 1 - include/mozsearch.inc | 2 +- include/shared-manual.inc | 1 - include/site.inc | 1 - include/version.inc | 1 - index.php | 1 - js/ext/jquery.ui.totop.js | 2 +- js/search-index.php | 1 - license/contrib-guidelines-code.php | 1 - license/distrib-guidelines-code.php | 2 -- license/index.php | 1 - manual/en/book.var.php | 2 +- manual/en/class.exception.php | 2 +- manual/en/context.http.php | 2 +- manual/en/funcref.php | 2 +- manual/en/function.strpos.php | 2 +- manual/en/index.php | 2 +- manual/en/language.exceptions.php | 2 +- manual/en/refs.basic.vartype.php | 2 +- manual/en/toc/context.inc | 2 +- manual/en/toc/features.inc | 2 +- manual/en/toc/funcref.inc | 2 +- manual/en/toc/getting-started.inc | 2 +- manual/en/toc/index.inc | 2 +- manual/en/toc/langref.inc | 2 +- manual/en/toc/ref.strings.inc | 2 +- manual/en/toc/refs.basic.vartype.inc | 2 +- manual/en/toc/reserved.exceptions.inc | 2 +- manual/en/toc/security.inc | 2 +- manual/noalias.txt | 2 +- mirror-info.php | 1 - mirroring-troubles.php | 1 - mirrors.php | 1 - privacy.php | 1 - quickref.php | 1 - releases/4_3_3_fr.php | 2 -- releases/NEWS_5_4_0_RC1.txt | 2 +- releases/NEWS_5_4_0_alpha1.txt | 1 - releases/NEWS_5_4_0_beta2.txt | 2 +- releases/index.php | 1 - results.php | 1 - robots.txt | 1 - security/crypt_blowfish.php | 1 - security/index.php | 1 - sites.php | 1 - styles/mirror.css | 2 -- ug.php | 1 - 92 files changed, 38 insertions(+), 100 deletions(-) diff --git a/.router.php b/.router.php index b411187b3..354a6e9e9 100644 --- a/.router.php +++ b/.router.php @@ -14,4 +14,3 @@ if (strncmp($_SERVER["DOCUMENT_ROOT"], $afilename, $len) == 0) { } } include_once "error.php"; - diff --git a/ChangeLog-5.php b/ChangeLog-5.php index 8402d67ba..4c48a3040 100644 --- a/ChangeLog-5.php +++ b/ChangeLog-5.php @@ -15901,4 +15901,3 @@ contents). (Zeev) - diff --git a/archive/1998.php b/archive/1998.php index ba1ba9ed2..f03d40ec9 100644 --- a/archive/1998.php +++ b/archive/1998.php @@ -92,4 +92,3 @@ site_header("News Archive - 1998", array("cache" => true));

true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/1999.php b/archive/1999.php index b5772619e..05c2233ca 100644 --- a/archive/1999.php +++ b/archive/1999.php @@ -118,4 +118,3 @@ site_header("News Archive - 1999", array("cache" => true));

true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2000.php b/archive/2000.php index 186415860..d9999d7c1 100644 --- a/archive/2000.php +++ b/archive/2000.php @@ -166,4 +166,3 @@ site_header("News Archive - 2000", array("cache" => true));

true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2009.php b/archive/2009.php index 7c01f862c..01cd361ff 100644 --- a/archive/2009.php +++ b/archive/2009.php @@ -966,4 +966,3 @@ site_header("News Archive - 2009", array("cache" => true)); true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2013.php b/archive/2013.php index 977cd13c6..1f105e2ff 100644 --- a/archive/2013.php +++ b/archive/2013.php @@ -1486,4 +1486,3 @@ site_header("News Archive - 2013", array("cache" => true)); true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2014.php b/archive/2014.php index 581d2cafa..f354cc04f 100644 --- a/archive/2014.php +++ b/archive/2014.php @@ -2095,4 +2095,3 @@ The list of changes is recorded in the \(.*\)<\/a>//g */ site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2015.php b/archive/2015.php index 6f9dbf837..3a407435c 100644 --- a/archive/2015.php +++ b/archive/2015.php @@ -22,4 +22,3 @@ print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage", "nofrontpage" /* %s/\(.*\)<\/a>//g */ site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2016.php b/archive/2016.php index 5052ed9c2..bcdb3bc69 100644 --- a/archive/2016.php +++ b/archive/2016.php @@ -22,4 +22,3 @@ print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage", "nofrontpage" /* %s/\(.*\)<\/a>//g */ site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2017.php b/archive/2017.php index b33cf4580..8900e66dd 100644 --- a/archive/2017.php +++ b/archive/2017.php @@ -22,4 +22,3 @@ print_news($NEWS_ENTRIES, null, 500, 2017); /* %s/\(.*\)<\/a>//g */ site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/2018.php b/archive/2018.php index 660cc8741..678b3956f 100644 --- a/archive/2018.php +++ b/archive/2018.php @@ -22,4 +22,3 @@ print_news($NEWS_ENTRIES, null, 500, 2018); /* %s/\(.*\)<\/a>//g */ site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); - diff --git a/archive/entries/2016-03-01-1.xml b/archive/entries/2016-03-01-1.xml index 5e94d689a..a5f143f8b 100644 --- a/archive/entries/2016-03-01-1.xml +++ b/archive/entries/2016-03-01-1.xml @@ -16,4 +16,4 @@ For tickets and more information: http://phpkonf.org - \ No newline at end of file + diff --git a/archive/entries/2016-03-31-3.xml b/archive/entries/2016-03-31-3.xml index c6f9f49f3..990d3c794 100644 --- a/archive/entries/2016-03-31-3.xml +++ b/archive/entries/2016-03-31-3.xml @@ -18,4 +18,4 @@

conf2016.phpsrbija.rs

- \ No newline at end of file + diff --git a/archive/entries/2016-04-05-1.xml b/archive/entries/2016-04-05-1.xml index 4ebe74cf4..425b8302b 100644 --- a/archive/entries/2016-04-05-1.xml +++ b/archive/entries/2016-04-05-1.xml @@ -38,4 +38,4 @@

Tickets are selling fast, so you better grab yours while you still can!

- \ No newline at end of file + diff --git a/archive/entries/2016-11-02-1.xml b/archive/entries/2016-11-02-1.xml index 74691a523..03534a36e 100644 --- a/archive/entries/2016-11-02-1.xml +++ b/archive/entries/2016-11-02-1.xml @@ -30,4 +30,4 @@

For further information on the International PHP Conference visit: www.phpconference.com

- \ No newline at end of file + diff --git a/archive/entries/2016-11-10-2.xml b/archive/entries/2016-11-10-2.xml index 5d1cd3b15..be0792375 100644 --- a/archive/entries/2016-11-10-2.xml +++ b/archive/entries/2016-11-10-2.xml @@ -33,4 +33,3 @@ - diff --git a/archive/entries/2016-12-27-1.xml b/archive/entries/2016-12-27-1.xml index d7a6f5d9a..595cb947a 100644 --- a/archive/entries/2016-12-27-1.xml +++ b/archive/entries/2016-12-27-1.xml @@ -16,4 +16,4 @@ For call for papers and more information: http://phpkonf.org - \ No newline at end of file + diff --git a/archive/entries/2017-05-09-1.xml b/archive/entries/2017-05-09-1.xml index 2851943c8..2fe71d1f8 100644 --- a/archive/entries/2017-05-09-1.xml +++ b/archive/entries/2017-05-09-1.xml @@ -64,4 +64,4 @@

We are looking forward to your exciting submissions! For further information on International PHP Conference’s sessions and speakers visit: www.phpconference.com

- \ No newline at end of file + diff --git a/archive/entries/2017-11-06-1.xml b/archive/entries/2017-11-06-1.xml index 30235ed08..8004a57de 100644 --- a/archive/entries/2017-11-06-1.xml +++ b/archive/entries/2017-11-06-1.xml @@ -33,4 +33,4 @@

We are looking forward to your exciting submissions! For further information on International PHP Conference's sessions and speakers visit: www.phpconference.com

- \ No newline at end of file + diff --git a/archive/entries/2018-03-23-1.xml b/archive/entries/2018-03-23-1.xml index cedb9149e..72c6292c6 100644 --- a/archive/entries/2018-03-23-1.xml +++ b/archive/entries/2018-03-23-1.xml @@ -38,4 +38,4 @@

We are looking forward to your exciting submissions! For further information on International PHP Conferenceís sessions and speakers visit: www.phpconference.com

- \ No newline at end of file + diff --git a/archive/entries/2018-04-23-1.xml b/archive/entries/2018-04-23-1.xml index 6fc329489..0eeb0387e 100644 --- a/archive/entries/2018-04-23-1.xml +++ b/archive/entries/2018-04-23-1.xml @@ -40,4 +40,4 @@

For further information on the International PHP Conference visit: www.phpconference.com

- \ No newline at end of file + diff --git a/archive/index.php b/archive/index.php index b3772adc9..9d2762aee 100644 --- a/archive/index.php +++ b/archive/index.php @@ -11,4 +11,3 @@ do { include_once $_SERVER['DOCUMENT_ROOT'] . '/include/errors.inc'; error_noservice(); - diff --git a/backend/ip-to-country.idx b/backend/ip-to-country.idx index 4e98e7999..9704a87b9 100644 --- a/backend/ip-to-country.idx +++ b/backend/ip-to-country.idx @@ -5,4 +5,3 @@ * up and running on your localhost without needing to generate all this * yourself from master. */ - diff --git a/bin/bumpRelease b/bin/bumpRelease index 0920ea68c..a4d383de6 100755 --- a/bin/bumpRelease +++ b/bin/bumpRelease @@ -42,4 +42,3 @@ file_put_contents("include/releases.inc", [ ]); echo "This was fun \o/\nI hope you remembered to run this script *before* updating include/version.inc... :)\n"; - diff --git a/bin/createNewsEntry b/bin/createNewsEntry index e7d174e4a..0ee149127 100755 --- a/bin/createNewsEntry +++ b/bin/createNewsEntry @@ -207,4 +207,3 @@ $arch->save("archive/archive.xml"); fwrite(STDOUT, "File saved.\nPlease git diff $archivefile sanity-check the changes before committing\n"); fwrite(STDOUT, "NOTE: Remeber to git add $file && git commit $file && git push!!\n"); - diff --git a/cached.php b/cached.php index e41d536bc..6937a53b6 100644 --- a/cached.php +++ b/cached.php @@ -50,5 +50,3 @@ if (substr($abs, -3) == ".js" || substr($abs, -5) == ".json") { } readfile($abs); - - diff --git a/conferences/index.php b/conferences/index.php index 5b300bcde..d63202fdf 100644 --- a/conferences/index.php +++ b/conferences/index.php @@ -55,4 +55,3 @@ site_footer( "sidebar" => $panels, ) ); - diff --git a/fonts/Fira/fira.css b/fonts/Fira/fira.css index 4b575bfc0..14c871e85 100644 --- a/fonts/Fira/fira.css +++ b/fonts/Fira/fira.css @@ -63,4 +63,3 @@ font-weight: 700; font-style: normal; } - diff --git a/fonts/Font-Awesome/LICENSE.txt b/fonts/Font-Awesome/LICENSE.txt index b51105452..174b67a48 100644 --- a/fonts/Font-Awesome/LICENSE.txt +++ b/fonts/Font-Awesome/LICENSE.txt @@ -8,5 +8,3 @@ Font license info Author: Dave Gandy License: SIL () Homepage: http://fortawesome.github.com/Font-Awesome/ - - diff --git a/fonts/Font-Awesome/config.json b/fonts/Font-Awesome/config.json index d6cc5d5ea..db9ed0333 100644 --- a/fonts/Font-Awesome/config.json +++ b/fonts/Font-Awesome/config.json @@ -13,4 +13,4 @@ "src": "fontawesome" } ] -} \ No newline at end of file +} diff --git a/fonts/Font-Awesome/css/fontello-codes.css b/fonts/Font-Awesome/css/fontello-codes.css index 6dc68c35e..be7d2f1af 100644 --- a/fonts/Font-Awesome/css/fontello-codes.css +++ b/fonts/Font-Awesome/css/fontello-codes.css @@ -1,2 +1 @@ - -.icon-twitter:before { content: '\e800'; } /* '' */ \ No newline at end of file +.icon-twitter:before { content: '\e800'; } /* '' */ diff --git a/fonts/Font-Awesome/css/fontello-embedded.css b/fonts/Font-Awesome/css/fontello-embedded.css index 29ab22750..218c405cf 100644 --- a/fonts/Font-Awesome/css/fontello-embedded.css +++ b/fonts/Font-Awesome/css/fontello-embedded.css @@ -52,4 +52,4 @@ /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } -.icon-twitter:before { content: '\e800'; } /* '' */ \ No newline at end of file +.icon-twitter:before { content: '\e800'; } /* '' */ diff --git a/fonts/Font-Awesome/css/fontello-ie7-codes.css b/fonts/Font-Awesome/css/fontello-ie7-codes.css index 25fb23819..7ed5517be 100644 --- a/fonts/Font-Awesome/css/fontello-ie7-codes.css +++ b/fonts/Font-Awesome/css/fontello-ie7-codes.css @@ -1,2 +1 @@ - -.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } \ No newline at end of file +.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } diff --git a/fonts/Font-Awesome/css/fontello-ie7.css b/fonts/Font-Awesome/css/fontello-ie7.css index 872e66fc4..4687c3b01 100644 --- a/fonts/Font-Awesome/css/fontello-ie7.css +++ b/fonts/Font-Awesome/css/fontello-ie7.css @@ -10,4 +10,4 @@ /* font-size: 120%; */ } -.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } \ No newline at end of file +.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } diff --git a/get-involved.php b/get-involved.php index da0cd3610..1e3e057e6 100644 --- a/get-involved.php +++ b/get-involved.php @@ -82,4 +82,3 @@ $SIDEBAR_DATA =' site_footer(array('sidebar'=>$SIDEBAR_DATA)); /* vim: set et ts=4 sw=4 ft=php: : */ - diff --git a/images/elephpants.php b/images/elephpants.php index b1f1904f6..1563fdb20 100644 --- a/images/elephpants.php +++ b/images/elephpants.php @@ -84,4 +84,3 @@ foreach ($photos as $photo) { } print json_encode($elephpants); - diff --git a/images/logo.php b/images/logo.php index 55cf28ed3..525efb7da 100644 --- a/images/logo.php +++ b/images/logo.php @@ -92,5 +92,3 @@ header('Last-Modified: ' . $tsstring); header('Expires: ' . date(DATE_RSS, $future)); imgheader($logo); serve_compressed_if_available($logo); - - diff --git a/include/countries-alpha2.inc b/include/countries-alpha2.inc index 8fe976f14..eac8a4707 100644 --- a/include/countries-alpha2.inc +++ b/include/countries-alpha2.inc @@ -252,4 +252,4 @@ $COUNTRIES_ALPHA2 = array( "ZA" => "South Africa", "ZM" => "Zambia", "ZW" => "Zimbabwe", -); \ No newline at end of file +); diff --git a/include/countries.inc b/include/countries.inc index 4fc23fb69..0594540d4 100644 --- a/include/countries.inc +++ b/include/countries.inc @@ -233,4 +233,3 @@ $COUNTRIES = array( 'ZMB' => 'Zambia', 'ZWE' => 'Zimbabwe', ); - diff --git a/include/do-download.inc b/include/do-download.inc index 91f013921..c5861acfc 100644 --- a/include/do-download.inc +++ b/include/do-download.inc @@ -40,4 +40,3 @@ function download_file($mirror, $file) echo " "; flush(); } - diff --git a/include/footer.inc b/include/footer.inc index 3aa48dad6..e7660012f 100644 --- a/include/footer.inc +++ b/include/footer.inc @@ -96,4 +96,3 @@ - diff --git a/include/get-download.inc b/include/get-download.inc index f5407d0a3..3268cac1c 100644 --- a/include/get-download.inc +++ b/include/get-download.inc @@ -74,4 +74,3 @@ if ($size) { - \ No newline at end of file + diff --git a/include/shared-manual.inc b/include/shared-manual.inc index 0b1405508..6867b7baa 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -527,4 +527,3 @@ function relTime(DateTime $date) { } /* vim: set et ts=4 sw=4: */ - diff --git a/include/site.inc b/include/site.inc index 2c75df186..09e0fd288 100644 --- a/include/site.inc +++ b/include/site.inc @@ -575,4 +575,3 @@ if (isset($_SERVER['MIRROR_STATS'])) { if (isset($_SERVER['BASE_PAGE'])) { $_SERVER['BASE_HREF'] = $MYSITE . $_SERVER['BASE_PAGE']; } else { unset($_SERVER['BASE_HREF']); } - diff --git a/include/version.inc b/include/version.inc index 797381a28..559c9f327 100644 --- a/include/version.inc +++ b/include/version.inc @@ -173,4 +173,3 @@ $PHP_5_RC_DATE = $PHP_5_6_RC_DATE; // Used by master $PHP_7_VERSION = $PHP_7_2_VERSION; // Some scripts require this set $PHP_7_DATE = $PHP_7_2_DATE; // Used by bumpRelease script $PHP_7_RC_DATE = $PHP_7_2_RC_DATE; // Used by master - diff --git a/index.php b/index.php index f8662817a..29db4a972 100644 --- a/index.php +++ b/index.php @@ -198,4 +198,3 @@ site_footer( 'sidebar' => $SIDEBAR ) ); - diff --git a/js/ext/jquery.ui.totop.js b/js/ext/jquery.ui.totop.js index 412471af7..d92ac9dc5 100644 --- a/js/ext/jquery.ui.totop.js +++ b/js/ext/jquery.ui.totop.js @@ -55,4 +55,4 @@ }); }; -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/js/search-index.php b/js/search-index.php index aad16eee4..614b32380 100644 --- a/js/search-index.php +++ b/js/search-index.php @@ -69,4 +69,3 @@ foreach($js as $k => $item) { echo json_encode($index); - diff --git a/license/contrib-guidelines-code.php b/license/contrib-guidelines-code.php index 3f72f77de..5dc5025e2 100644 --- a/license/contrib-guidelines-code.php +++ b/license/contrib-guidelines-code.php @@ -42,4 +42,3 @@ site_header("License Information", array("current" => "help")); "help")); $SIDEBAR_DATA)); - diff --git a/manual/en/book.var.php b/manual/en/book.var.php index 8394a6a19..34ce5388b 100644 --- a/manual/en/book.var.php +++ b/manual/en/book.var.php @@ -81,4 +81,4 @@ manual_header(); - \ No newline at end of file + diff --git a/manual/en/class.exception.php b/manual/en/class.exception.php index c91cabd9b..765e8e4a4 100644 --- a/manual/en/class.exception.php +++ b/manual/en/class.exception.php @@ -289,4 +289,4 @@ manual_header();

Table of Contents

- \ No newline at end of file + diff --git a/manual/en/context.http.php b/manual/en/context.http.php index 217227193..3fb0c4f66 100644 --- a/manual/en/context.http.php +++ b/manual/en/context.http.php @@ -439,4 +439,4 @@ array ( - \ No newline at end of file + diff --git a/manual/en/funcref.php b/manual/en/funcref.php index 02a56c76e..ef6eec837 100644 --- a/manual/en/funcref.php +++ b/manual/en/funcref.php @@ -115,4 +115,4 @@ manual_header(); - \ No newline at end of file + diff --git a/manual/en/function.strpos.php b/manual/en/function.strpos.php index 3312b44d8..25158aa6f 100644 --- a/manual/en/function.strpos.php +++ b/manual/en/function.strpos.php @@ -198,4 +198,4 @@ binary-safe.

- \ No newline at end of file + diff --git a/manual/en/index.php b/manual/en/index.php index 3d6ec74c0..0e16997b1 100644 --- a/manual/en/index.php +++ b/manual/en/index.php @@ -169,4 +169,4 @@ manual_header(); - \ No newline at end of file + diff --git a/manual/en/language.exceptions.php b/manual/en/language.exceptions.php index 5295f717e..64af0c4db 100644 --- a/manual/en/language.exceptions.php +++ b/manual/en/language.exceptions.php @@ -162,4 +162,4 @@ string(4) "foo!" - \ No newline at end of file + diff --git a/manual/en/refs.basic.vartype.php b/manual/en/refs.basic.vartype.php index b00e4840e..fe4725cd2 100644 --- a/manual/en/refs.basic.vartype.php +++ b/manual/en/refs.basic.vartype.php @@ -132,4 +132,4 @@ manual_header(); - \ No newline at end of file + diff --git a/manual/en/toc/context.inc b/manual/en/toc/context.inc index ceac2e6a5..505b0c9c7 100644 --- a/manual/en/toc/context.inc +++ b/manual/en/toc/context.inc @@ -47,4 +47,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/features.inc b/manual/en/toc/features.inc index 327a0b08e..7bc0de948 100644 --- a/manual/en/toc/features.inc +++ b/manual/en/toc/features.inc @@ -69,4 +69,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/funcref.inc b/manual/en/toc/funcref.inc index e6584d830..330efa482 100644 --- a/manual/en/toc/funcref.inc +++ b/manual/en/toc/funcref.inc @@ -137,4 +137,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/getting-started.inc b/manual/en/toc/getting-started.inc index 84caf7e77..bf0cd4478 100644 --- a/manual/en/toc/getting-started.inc +++ b/manual/en/toc/getting-started.inc @@ -19,4 +19,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/index.inc b/manual/en/toc/index.inc index 9eb462163..52a2e5f79 100644 --- a/manual/en/toc/index.inc +++ b/manual/en/toc/index.inc @@ -57,4 +57,4 @@ $TOC = array ( ), ); $PARENTS = array ( -); \ No newline at end of file +); diff --git a/manual/en/toc/langref.inc b/manual/en/toc/langref.inc index dedfb0803..ac02ab51d 100644 --- a/manual/en/toc/langref.inc +++ b/manual/en/toc/langref.inc @@ -97,4 +97,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/ref.strings.inc b/manual/en/toc/ref.strings.inc index 6d80aa82e..671ca8f95 100644 --- a/manual/en/toc/ref.strings.inc +++ b/manual/en/toc/ref.strings.inc @@ -512,4 +512,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/refs.basic.vartype.inc b/manual/en/toc/refs.basic.vartype.inc index 04fe3bf5f..f8ec3ba3c 100644 --- a/manual/en/toc/refs.basic.vartype.inc +++ b/manual/en/toc/refs.basic.vartype.inc @@ -62,4 +62,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/reserved.exceptions.inc b/manual/en/toc/reserved.exceptions.inc index da505dce8..8e477fcec 100644 --- a/manual/en/toc/reserved.exceptions.inc +++ b/manual/en/toc/reserved.exceptions.inc @@ -22,4 +22,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/en/toc/security.inc b/manual/en/toc/security.inc index 2a70a7591..93655fb23 100644 --- a/manual/en/toc/security.inc +++ b/manual/en/toc/security.inc @@ -69,4 +69,4 @@ $PARENTS = array ( 0 => 'index.php', 1 => 'PHP Manual', ), -); \ No newline at end of file +); diff --git a/manual/noalias.txt b/manual/noalias.txt index 337a5e009..c0d674c04 100644 --- a/manual/noalias.txt +++ b/manual/noalias.txt @@ -1 +1 @@ -manual-noalias \ No newline at end of file +manual-noalias diff --git a/mirror-info.php b/mirror-info.php index cfdeb8630..168e496ec 100644 --- a/mirror-info.php +++ b/mirror-info.php @@ -116,4 +116,3 @@ function run_self_tests() { ); } - diff --git a/mirroring-troubles.php b/mirroring-troubles.php index 664d3a17a..ff6f60b2a 100644 --- a/mirroring-troubles.php +++ b/mirroring-troubles.php @@ -135,4 +135,3 @@ site_header("The PHP mirrors problem and troubleshooting guide", array("current" "footer")); - - diff --git a/releases/NEWS_5_4_0_RC1.txt b/releases/NEWS_5_4_0_RC1.txt index ec388c574..49246c091 100644 --- a/releases/NEWS_5_4_0_RC1.txt +++ b/releases/NEWS_5_4_0_RC1.txt @@ -6695,4 +6695,4 @@ PHP NEWS - Fixed bug #28699 (Reflection api bugs). (Marcus) - Fixed bug #28694 (ReflectionExtension::getFunctions() crashes PHP). (Marcus) - Fixed bug #28512 (Allocate enough space to store MSSQL data). (Frank) -- Fixed strip_tags() to correctly handle '\0' characters. (Stefan) \ No newline at end of file +- Fixed strip_tags() to correctly handle '\0' characters. (Stefan) diff --git a/releases/NEWS_5_4_0_alpha1.txt b/releases/NEWS_5_4_0_alpha1.txt index 553602c2d..a95fd946e 100644 --- a/releases/NEWS_5_4_0_alpha1.txt +++ b/releases/NEWS_5_4_0_alpha1.txt @@ -229,4 +229,3 @@ PHP NEWS - Fixed PDO objects binary incompatibility. (Dmitry) - Fixed bug #52211 (iconv() returns part of string on error). (Felipe) - diff --git a/releases/NEWS_5_4_0_beta2.txt b/releases/NEWS_5_4_0_beta2.txt index 6792c65a8..d306d8a5f 100644 --- a/releases/NEWS_5_4_0_beta2.txt +++ b/releases/NEWS_5_4_0_beta2.txt @@ -1107,4 +1107,4 @@ PHP NEWS . Fixed bug #46587 (mt_rand() does not check that max is greater than min). (Ilia) . Fixed bug #29085 (bad default include_path on Windows). (Pierre) - . Fixed bug #25927 (get_html_translation_table \ No newline at end of file + . Fixed bug #25927 (get_html_translation_table diff --git a/releases/index.php b/releases/index.php index a7b5c0b8d..dc9c96c2f 100644 --- a/releases/index.php +++ b/releases/index.php @@ -237,4 +237,3 @@ foreach($OLDRELEASES as $major => $a) { } site_footer(array("sidebar" => $SIDEBAR_DATA)); - diff --git a/results.php b/results.php index e0dd76d0a..280002123 100644 --- a/results.php +++ b/results.php @@ -30,4 +30,3 @@ echo '

Search results

'; google_cse($query, $lang); site_footer(); - diff --git a/robots.txt b/robots.txt index 4348f2d9e..9fd9178db 100644 --- a/robots.txt +++ b/robots.txt @@ -11,4 +11,3 @@ Disallow: /manual/vote-note.php Disallow: /harming/humans Disallow: /ignoring/human/orders Disallow: /harm/to/self - diff --git a/security/crypt_blowfish.php b/security/crypt_blowfish.php index 2ff73e8a0..402f1f811 100644 --- a/security/crypt_blowfish.php +++ b/security/crypt_blowfish.php @@ -64,4 +64,3 @@ announcement for more information. $SIDEBAR ) ); - diff --git a/styles/mirror.css b/styles/mirror.css index 046992994..25d684274 100644 --- a/styles/mirror.css +++ b/styles/mirror.css @@ -100,5 +100,3 @@ div#usernotes a.usernotes-voted:hover { position: absolute; right: 0px; } - - diff --git a/ug.php b/ug.php index fbe3b7971..02345ac03 100644 --- a/ug.php +++ b/ug.php @@ -127,4 +127,3 @@ site_footer( "sidebar" => $SIDEBAR_DATA, ) ); -