com php-langspec: Sync final newlines: LICENSE spec/01-introduction.md spec/02-conformance.md spec/03-terms-and-definitions.md spec/05-types.md spec/06-constants.md spec/12-arrays.md spec/16-traits.md spec/17-exception-handling.md spec/20-bibliography.md tests/expressions/assignment_operators/concat_assignment. phpt tools/README.md tools/split.php tools/toc.php tools/xreference/section_map.csv
[email protected] (Peter Kokot) Mon, 01 Oct 2018 18:21:21 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: be010b4435e7b0801737bb66b5bbdd8f9fb51dde=0AAuthor: Peter Koko= t <[email protected]> Mon, 1 Oct 2018 20:21:21 +0200=0AParents: = 97bef5c03282bb7f7402f0ccf5414f24b1022a7e=0ABranches: master=0A=0ALink: = http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitdiff;h=3Dbe010b4435= e7b0801737bb66b5bbdd8f9fb51dde=0A=0ALog:=0ASync final newlines=0A=0A- Redun= dant final newlines trimmed into one=0A- Missing final newlines added where= can be added=0A=0AAccording to POSIX, a line is a sequence of zero or more= non-' <newline>'=0Acharacters plus a terminating '<newline>' character. [1= ] Files should=0Anormally have at least one final newline character althoug= h not=0Amandatory.=0A=0A[1] http://pubs.opengroup.org/onlinepubs/9699919799= /basedefs/V1_chap03.html#tag_03_206=0A=0AChanged paths:=0A M LICENSE=0A = M spec/01-introduction.md=0A M spec/02-conformance.md=0A M spec/03-ter= ms-and-definitions.md=0A M spec/05-types.md=0A M spec/06-constants.md= =0A M spec/12-arrays.md=0A M spec/16-traits.md=0A M spec/17-exception= -handling.md=0A M spec/20-bibliography.md=0A M tests/expressions/assign= ment_operators/concat_assignment.phpt=0A M tools/README.md=0A M tools/s= plit.php=0A M tools/toc.php=0A M tools/xreference/section_map.csv=0A=0A= =0ADiff:=0Adiff --git a/LICENSE b/LICENSE=0Aindex 869b1ab..a769eab 100644= =0A--- a/LICENSE=0A+++ b/LICENSE=0A@@ -6,4 +6,3 @@ The first draft of this = specification was initially written in 2014 by=0A Facebook, Inc.=0A =0A Thi= s specification is distributed without any warranty.=0A-=0Adiff --git a/spe= c/01-introduction.md b/spec/01-introduction.md=0Aindex ee22c01..84953eb 100= 644=0A--- a/spec/01-introduction.md=0A+++ b/spec/01-introduction.md=0A@@ -1= 0,4 +10,3 @@ use by the following:=0A For now, the runtime library has been= excluded, as that is documented at=0A [www.php.net](http://www.php.net). H= owever, the document can contain references=0A to the library functions, us= ually in the form of links to http://www.php.net.=0A-=0Adiff --git a/spec/0= 2-conformance.md b/spec/02-conformance.md=0Aindex 2fe9f33..4ab126b 100644= =0A--- a/spec/02-conformance.md=0A+++ b/spec/02-conformance.md=0A@@ -52,4 += 52,3 @@ to exist in future revisions. Usually, they are old approaches that= have=0A been superseded by new ones, and use of the old approach is discou= raged.=0A (Examples of this include the use of braces ({ }) for subscriptin= g, and=0A the use of old-style constructor names).=0A-=0Adiff --git a/spec/= 03-terms-and-definitions.md b/spec/03-terms-and-definitions.md=0Aindex fe4d= 15a..ae87eb6 100644=0A--- a/spec/03-terms-and-definitions.md=0A+++ b/spec/0= 3-terms-and-definitions.md=0A@@ -64,5 +64,3 @@ apply:=0A =0A Other terms ar= e defined throughout this specification, as needed, with=0A the first usage= being typeset *like this*.=0A-=0A-=0Adiff --git a/spec/05-types.md b/spec/= 05-types.md=0Aindex 676480e..11cfb3b 100644=0A--- a/spec/05-types.md=0A+++ = b/spec/05-types.md=0A@@ -209,6 +209,3 @@ Each distinct resource has a uniqu= e identity of some unspecified form.=0A The library function [`is_resource`= ](http://www.php.net/is_resource) indicates if a given value is a=0A resour= ce, and the library function=0A [`get_resource_type`](http://php.net/manual= /function.get-resource-type.php) indicates the type of a resource.=0A-=0A-= =0A-=0Adiff --git a/spec/06-constants.md b/spec/06-constants.md=0Aindex 577= 20df..3b6b611 100644=0A--- a/spec/06-constants.md=0A+++ b/spec/06-constants= .md=0A@@ -144,6 +144,3 @@ they can be combined meaningfully using bitwise o= perators.=0A =0A A constant may be defined inside or outside of functions, = inside=0A a [class](14-classes.md#constants), or inside an [interface](15-i= nterfaces.md#constants).=0A-=0A-=0A-=0Adiff --git a/spec/12-arrays.md b/spe= c/12-arrays.md=0Aindex 0297c36..2021c48 100644=0A--- a/spec/12-arrays.md=0A= +++ b/spec/12-arrays.md=0A@@ -40,5 +40,3 @@ An array is created and initial= ized using the=0A =0A The value (and possibly the type) of an existing elem= ent is changed, and=0A new elements are inserted, using the subscript opera= tor [`[]`](10-expressions.md#subscript-operator).=0A-=0A-=0Adiff --git a/sp= ec/16-traits.md b/spec/16-traits.md=0Aindex abd4be1..511c350 100644=0A--- a= /spec/16-traits.md=0A+++ b/spec/16-traits.md=0A@@ -235,5 +235,3 @@ trait T4= =0A }=0A }=0A ```=0A-=0A-=0Adiff --git a/spec/17-exception-handling.md b/= spec/17-exception-handling.md=0Aindex 4799dd7..813a582 100644=0A--- a/spec/= 17-exception-handling.md=0A+++ b/spec/17-exception-handling.md=0A@@ -148,5 = +148,3 @@ parent class' constructor as their first operation to ensure the= =0A base-class part of the new object is initialized appropriately. They=0A= often also provide an augmented implementation of=0A [`__toString()`](14-c= lasses.md#method-__tostring).=0A-=0A-=0Adiff --git a/spec/20-bibliography.m= d b/spec/20-bibliography.md=0Aindex 170322e..fb03bd8 100644=0A--- a/spec/20= -bibliography.md=0A+++ b/spec/20-bibliography.md=0A@@ -10,4 +10,3 @@ IEEE S= tandard for Binary Floating-Point Arithmetic).=0A =0A The Unicode Consortiu= m. *The Unicode Standard, Version 5.0*,=0A [www.Unicode.org](http://www.Uni= code.org)).=0A-=0Adiff --git a/tests/expressions/assignment_operators/conca= t_assignment.phpt b/tests/expressions/assignment_operators/concat_assignmen= t.phpt=0Aindex 07467a0..80d21d8 100644=0A--- a/tests/expressions/assignment= _operators/concat_assignment.phpt=0A+++ b/tests/expressions/assignment_oper= ators/concat_assignment.phpt=0A@@ -256,4 +256,4 @@ foreach ($oper as $t)=0A= >9223372036854775807< .=3D ><, result: string(19) "9223372036854775807"=0A= >9223372036854775807< .=3D >abc<, result: string(22) "9223372036854775807a= bc"=0A >9223372036854775807< .=3D >9223372036854775807<, result: string(38)= "92233720368547758079223372036854775807"=0A-------------------------------= -------=0A\ No newline at end of file=0A+----------------------------------= ---=0Adiff --git a/tools/README.md b/tools/README.md=0Aindex c8a4f70..8a08e= e8 100644=0A--- a/tools/README.md=0A+++ b/tools/README.md=0A@@ -5,4 +5,3 @@= Here are some possible examples:=0A 1. A script to convert from Markdown t= o Word or PDF might live in here.=0A 2. A tool to help move cross reference= links from Word to Markdown.=0A 3. A script to add numbered headings to Ma= rkdown.=0A-=0Adiff --git a/tools/split.php b/tools/split.php=0Aindex 5c8eb3= c..6cf1920 100644=0A--- a/tools/split.php=0A+++ b/tools/split.php=0A@@ -61,= 4 +61,4 @@ foreach($split_data as $filename =3D> $contents) {=0A re= turn $res;=0A }, $contents);=0A file_put_contents($filename, $conte= nts);=0A-}=0A\ No newline at end of file=0A+}=0Adiff --git a/tools/toc.php = b/tools/toc.php=0Aindex 0ba92ee..774c7fa 100644=0A--- a/tools/toc.php=0A+++= b/tools/toc.php=0A@@ -31,4 +31,3 @@ foreach (spec_files() as $fileName =3D= > $path) {=0A }=0A =0A file_put_contents($tocFile, "$prefix\n$output");=0A-= =0Adiff --git a/tools/xreference/section_map.csv b/tools/xreference/section= _map.csv=0Aindex e80f477..dc5a59e 100644=0A--- a/tools/xreference/section_m= ap.csv=0A+++ b/tools/xreference/section_map.csv=0A@@ -290,4 +290,4 @@ A.3.6= ,classes-1=0A A.3.7,interfaces-1=0A A.3.8,traits-1=0A A.3.9,namespaces-1=0A= -Bibliography,bibliography=0A\ No newline at end of file=0A+Bibliography,bi= bliography=0A