com web/doc: Sync final newlines: .gitignore README.md build-ops-sample.php cron/README include/LICENSE.PARSEDOWN include/init.inc.php include/lib_general.inc.php include/lib_revcheck.in c.php scripts/gen_picture_info.php scripts/gen_pi cture_info_all_lang.php scripts/generation.sh scr ipts/populatedocs.sh tutorial/intro.md tutorial/style .md www/error.php www/index.php www/phd/index.php www/revcheck.php
[email protected] (Peter Kokot) Mon, 01 Oct 2018 21:36:51 +0000
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
Commit: 9c2a3e006c35fa98c23317d3a2695480c76f6e36=0AAuthor: Peter Koko= t <[email protected]> Mon, 1 Oct 2018 23:36:51 +0200=0AParents: = 5d425c443881595096ed76566a859efc2a289319=0ABranches: master=0A=0ALink: = http://git.php.net/?p=3Dweb/doc.git;a=3Dcommitdiff;h=3D9c2a3e006c35fa9= 8c23317d3a2695480c76f6e36=0A=0ALog:=0ASync final newlines=0A=0AThis patch a= dds some missing newlines and trims multiple newlines into=0Aone.=0A=0AAcco= rding to POSIX, a line is a sequence of zero or more non-' <newline>'=0Acha= racters plus a terminating '<newline>' character. [1] Files should=0Anormal= ly have at least one final newline character.=0A=0AC89 [2] and later standa= rds [3] mention a final newline:=0A"A source file that is not empty shall e= nd in a new-line character,=0Awhich shall not be immediately preceded by a = backslash character."=0A=0AAlthough it is not mandatory for all files to ha= ve a final newline=0Afixed, a more consistent and homogeneous approach brin= gs less of commit=0Adifferences issues and a better development experience = in certain text=0Aeditors and IDEs.=0A=0A[1] http://pubs.opengroup.org/onli= nepubs/9699919799/basedefs/V1_chap03.html#tag_03_206=0A[2] https://port70.n= et/~nsz/c/c89/c89-draft.html#2.1.1.2=0A[3] https://port70.net/~nsz/c/c99/n1= 256.html#5.1.1.2=0A=0ABugs:=0Ahttps://bugs.php.net/2=0Ahttps://bugs.php.net= /5=0A=0AChanged paths:=0A M .gitignore=0A M README.md=0A M build-ops-= sample.php=0A M cron/README=0A M include/LICENSE.PARSEDOWN=0A M inclu= de/init.inc.php=0A M include/lib_general.inc.php=0A M include/lib_revch= eck.inc.php=0A M scripts/gen_picture_info.php=0A M scripts/gen_picture_= info_all_lang.php=0A M scripts/generation.sh=0A M scripts/populatedocs.= sh=0A M tutorial/intro.md=0A M tutorial/style.md=0A M www/error.php= =0A M www/index.php=0A M www/phd/index.php=0A M www/revcheck.php=0A= =0A=0ADiff:=0Adiff --git a/.gitignore b/.gitignore=0Aindex c9a1fb9..432ae2f= 100644=0A--- a/.gitignore=0A+++ b/.gitignore=0A@@ -5,4 +5,4 @@ shared=0A s= qlite=0A svn=0A www/images=0A-www/robots.txt=0A\ No newline at end of file= =0A+www/robots.txt=0Adiff --git a/README.md b/README.md=0Aindex 895dc9d..c1= 13509 100644=0A--- a/README.md=0A+++ b/README.md=0A@@ -45,4 +45,4 @@ Requir= ements:=0A ```=0A =0A ## TODO=0A-- add more cowbell=0A\ No newline at end o= f file=0A+- add more cowbell=0Adiff --git a/build-ops-sample.php b/build-op= s-sample.php=0Aindex 1c486dc..dcc901f 100644=0A--- a/build-ops-sample.php= =0A+++ b/build-ops-sample.php=0A@@ -3,4 +3,4 @@=0A =0A define('SVN_DIR', = '@SVNDIR@');=0A define('DOC_DIR', '@DOCDIR@');=0A-define('SQLITE_DIR'= , '@SQLITEDIR@');=0A\ No newline at end of file=0A+define('SQLITE_DIR', '= @SQLITEDIR@');=0Adiff --git a/cron/README b/cron/README=0Aindex d1e3f17..63= d0d77 100644=0A--- a/cron/README=0A+++ b/cron/README=0A@@ -12,4 +12,3 @@ Th= e actual crontab for docweb should look something like this:=0A 0 0 * * * /= path/to/docweb/cron/cron daily=0A 0 0 * * 1 /path/to/docweb/cron/cron weekl= y=0A 0 0 1 * * /path/to/docweb/cron/cron monthly=0A-=0Adiff --git a/include= /LICENSE.PARSEDOWN b/include/LICENSE.PARSEDOWN=0Aindex baca86f..b5a9d32 100= 644=0A--- a/include/LICENSE.PARSEDOWN=0A+++ b/include/LICENSE.PARSEDOWN=0A@= @ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ME= RCHANTABILITY, FITNESS=0A FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN = NO EVENT SHALL THE AUTHORS OR=0A COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,= DAMAGES OR OTHER LIABILITY, WHETHER=0A IN AN ACTION OF CONTRACT, TORT OR O= THERWISE, ARISING FROM, OUT OF OR IN=0A-CONNECTION WITH THE SOFTWARE OR THE= USE OR OTHER DEALINGS IN THE SOFTWARE.=0A\ No newline at end of file=0A+CO= NNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.=0A= diff --git a/include/init.inc.php b/include/init.inc.php=0Aindex 03169e7..4= c06f08 100644=0A--- a/include/init.inc.php=0A+++ b/include/init.inc.php=0A@= @ -30,4 +30,4 @@ define('CACHE_BUGS_COUNT', 300); // 300 =3D 5mins=0A requi= re_once('lib_proj_lang.inc.php');=0A =0A // general support library=0A-requ= ire_once('lib_general.inc.php');=0A\ No newline at end of file=0A+require_o= nce('lib_general.inc.php');=0Adiff --git a/include/lib_general.inc.php b/in= clude/lib_general.inc.php=0Aindex 7a15fbb..2b78960 100644=0A--- a/include/l= ib_general.inc.php=0A+++ b/include/lib_general.inc.php=0A@@ -80,4 +80,4 @@ = function nav_tools($lang)=0A $out .=3D '<li><a href=3D"revcheck.php?p= =3Dgraph&lang=3D'.$lang.'">Graph</a></li>';=0A $out .=3D '</ul></di= v></div>';=0A return $out;=0A-}=0A\ No newline at end of file=0A+}=0Adi= ff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php=0Ain= dex 1b31466..f771562 100644=0A--- a/include/lib_revcheck.inc.php=0A+++ b/in= clude/lib_revcheck.inc.php=0A@@ -282,4 +282,4 @@ function gen_date($file)= =0A {=0A $unix =3D filemtime($file);=0A return '<time class=3D"gen-= date" datetime=3D"'.date(DATE_W3C, $unix).'">Generated: '.date('d M Y H:i:s= ', $unix).'</time>';=0A-}=0A\ No newline at end of file=0A+}=0Adiff --git a= /scripts/gen_picture_info.php b/scripts/gen_picture_info.php=0Aindex 785391= 7..01c7429 100644=0A--- a/scripts/gen_picture_info.php=0A+++ b/scripts/gen_= picture_info.php=0A@@ -91,4 +91,4 @@ function generate_image($lang, $idx) {= =0A =0A $graph->Add($p1);=0A $graph->Stroke("../www/images/revcheck= /info_revcheck_php_$lang.png");=0A-}=0A\ No newline at end of file=0A+}=0Ad= iff --git a/scripts/gen_picture_info_all_lang.php b/scripts/gen_picture_inf= o_all_lang.php=0Aindex 1972b2e..38e96a7 100644=0A--- a/scripts/gen_picture_= info_all_lang.php=0A+++ b/scripts/gen_picture_info_all_lang.php=0A@@ -72,4 = +72,4 @@ function generate_image() {=0A =0A // Display the graph=0A = $graph->Stroke('../www/images/revcheck/info_revcheck_php_all_lang.png');= =0A-}=0A\ No newline at end of file=0A+}=0Adiff --git a/scripts/generation.= sh b/scripts/generation.sh=0Aindex 7350a76..05afae5 100755=0A--- a/scripts/= generation.sh=0A+++ b/scripts/generation.sh=0A@@ -17,4 +17,4 @@ echo "... d= one"=0A =0A echo "Generating global graphs"=0A ${PHP} -q ./gen_picture_info= _all_lang.php=0A-echo "... done"=0A\ No newline at end of file=0A+echo "...= done"=0Adiff --git a/scripts/populatedocs.sh b/scripts/populatedocs.sh=0Ai= ndex b0479a3..172948f 100755=0A--- a/scripts/populatedocs.sh=0A+++ b/script= s/populatedocs.sh=0A@@ -40,4 +40,4 @@ else=0A fi=0A =0A echo -n "Reverting = directory:"=0A-popd=0A\ No newline at end of file=0A+popd=0Adiff --git a/tu= torial/intro.md b/tutorial/intro.md=0Aindex 48982be..bfe71fe 100644=0A--- a= /tutorial/intro.md=0A+++ b/tutorial/intro.md=0A@@ -28,4 +28,4 @@ This guide= uses some terminology that you have to know. Don't worry, it's easy:=0A = =0A ## Feedback=0A Feedback is most certainly welcome on this document. Wit= hout your submissions and input, this document wouldn't exist.=0A-Please se= nd your additions, comments and criticisms to the following email address: = [email protected].=0A\ No newline at end of file=0A+Please send your add= itions, comments and criticisms to the following email address: phpdoc@list= s.php.net.=0Adiff --git a/tutorial/style.md b/tutorial/style.md=0Aindex 989= 84dc..a9fa2ed 100644=0A--- a/tutorial/style.md=0A+++ b/tutorial/style.md=0A= @@ -61,4 +61,4 @@ the [Foo Page][example] | [click here][example], go [her= e][example]=0A Unix | UNIX (it's a registered trademark= )=0A Windows | windows (when referring to Microsoft Window= s)=0A =0A-[example]: http://example.com=0A\ No newline at end of file=0A+[e= xample]: http://example.com=0Adiff --git a/www/error.php b/www/error.php=0A= index a212d9c..d4d1025 100644=0A--- a/www/error.php=0A+++ b/www/error.php= =0A@@ -11,4 +11,4 @@ else {=0A =09echo '<p>An error occured</p>';=0A }=0A = =0A-site_footer();=0A\ No newline at end of file=0A+site_footer();=0Adiff -= -git a/www/index.php b/www/index.php=0Aindex 0e6f810..fd982ce 100644=0A--- = a/www/index.php=0A+++ b/www/index.php=0A@@ -36,4 +36,4 @@ mailing list.</p>= =0A =0A <?php=0A $sidebar =3D nav_languages();=0A-echo site_footer($sidebar= );=0A\ No newline at end of file=0A+echo site_footer($sidebar);=0Adiff --gi= t a/www/phd/index.php b/www/phd/index.php=0Aindex 8e4db13..497769e 100644= =0A--- a/www/phd/index.php=0A+++ b/www/phd/index.php=0A@@ -1,3 +1,3 @@=0A <= ?php=0A header('location: ../phd.php');=0A-die;=0A\ No newline at end of fi= le=0A+die;=0Adiff --git a/www/revcheck.php b/www/revcheck.php=0Aindex 08909= 2c..6d561c9 100644=0A--- a/www/revcheck.php=0A+++ b/www/revcheck.php=0A@@ -= 376,4 +376,4 @@ END_OF_MULTILINE;=0A if ($lang !=3D 'en') {=0A =09$sidebar = =3D nav_tools($lang);=0A =09site_footer($sidebar);=0A-}=0A\ No newline at e= nd of file=0A+}=0A