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
| From: | Peter Kokot | Date: | Mon, 01 Oct 2018 18:21:21 +0000 |
| Subject: | 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 |
||
| Groups: | php.standards.cvs | ||
| Request: | Send a blank email to standards--cvs+get-421@lists.php.net to get a copy of this message | ||
Commit: be010b4435e7b0801737bb66b5bbdd8f9fb51dde
Author: Peter Kokot <peterkokot@gmail.com> Mon, 1 Oct 2018 20:21:21 +0200
Parents: 97bef5c03282bb7f7402f0ccf5414f24b1022a7e
Branches: master
Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=be010b4435e7b0801737bb66b5bbdd8f9fb51dde
Log:
Sync final newlines
- Redundant final newlines trimmed into one
- Missing final newlines added where can be added
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character although not
mandatory.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
Changed paths:
M LICENSE
M spec/01-introduction.md
M spec/02-conformance.md
M spec/03-terms-and-definitions.md
M spec/05-types.md
M spec/06-constants.md
M spec/12-arrays.md
M spec/16-traits.md
M spec/17-exception-handling.md
M spec/20-bibliography.md
M tests/expressions/assignment_operators/concat_assignment.phpt
M tools/README.md
M tools/split.php
M tools/toc.php
M tools/xreference/section_map.csv
Diff:
diff --git a/LICENSE b/LICENSE
index 869b1ab..a769eab 100644
--- a/LICENSE
+++ b/LICENSE
@@ -6,4 +6,3 @@ The first draft of this specification was initially written in 2014 by
Facebook, Inc.
This specification is distributed without any warranty.
-
diff --git a/spec/01-introduction.md b/spec/01-introduction.md
index ee22c01..84953eb 100644
--- a/spec/01-introduction.md
+++ b/spec/01-introduction.md
@@ -10,4 +10,3 @@ use by the following:
For now, the runtime library has been excluded, as that is documented at
[www.php.net](http://www.php.net). However, the document can contain references
to the library functions, usually in the form of links to http://www.php.net.
-
diff --git a/spec/02-conformance.md b/spec/02-conformance.md
index 2fe9f33..4ab126b 100644
--- a/spec/02-conformance.md
+++ b/spec/02-conformance.md
@@ -52,4 +52,3 @@ to exist in future revisions. Usually, they are old approaches that have
been superseded by new ones, and use of the old approach is discouraged.
(Examples of this include the use of braces ({ }) for subscripting, and
the use of old-style constructor names).
-
diff --git a/spec/03-terms-and-definitions.md b/spec/03-terms-and-definitions.md
index fe4d15a..ae87eb6 100644
--- a/spec/03-terms-and-definitions.md
+++ b/spec/03-terms-and-definitions.md
@@ -64,5 +64,3 @@ apply:
Other terms are defined throughout this specification, as needed, with
the first usage being typeset *like this*.
-
-
diff --git a/spec/05-types.md b/spec/05-types.md
index 676480e..11cfb3b 100644
--- a/spec/05-types.md
+++ b/spec/05-types.md
@@ -209,6 +209,3 @@ Each distinct resource has a unique identity of some unspecified form.
The library function [
is_resource](http://www.php.net/is_resource) indicates if a
given value is a
resource, and the library function
[get_resource_type](http://php.net/manual/function.get-resource-type.php) indicates
the type of a resource.
-
-
-
diff --git a/spec/06-constants.md b/spec/06-constants.md
index 57720df..3b6b611 100644
--- a/spec/06-constants.md
+++ b/spec/06-constants..md
@@ -144,6 +144,3 @@ they can be combined meaningfully using bitwise operators.
A constant may be defined inside or outside of functions, inside
a [class](14-classes.md#constants), or inside an [interface](15-interfaces.md#constants).
-
-
-
diff --git a/spec/12-arrays.md b/spec/12-arrays.md
index 0297c36..2021c48 100644
--- a/spec/12-arrays.md
+++ b/spec/12-arrays.md
@@ -40,5 +40,3 @@ An array is created and initialized using the
The value (and possibly the type) of an existing element is changed, and
new elements are inserted, using the subscript operator
[[]](10-expressions.md#subscript-operator).
-
-
diff --git a/spec/16-traits.md b/spec/16-traits.md
index abd4be1..511c350 100644
--- a/spec/16-traits.md
+++ b/spec/16-traits.md
@@ -235,5 +235,3 @@ trait T4
}
}
```
-
-
diff --git a/spec/17-exception-handling.md b/spec/17-exception-handling.md
index 4799dd7..813a582 100644
--- a/spec/17-exception-handling.md
+++ b/spec/17-exception-handling.md
@@ -148,5 +148,3 @@ parent class' constructor as their first operation to ensure the
base-class part of the new object is initialized appropriately. They
often also provide an augmented implementation of
[__toString()](14-classes.md#method-__tostring).
-
-
diff --git a/spec/20-bibliography.md b/spec/20-bibliography.md
index 170322e..fb03bd8 100644
--- a/spec/20-bibliography.md
+++ b/spec/20-bibliography.md
@@ -10,4 +10,3 @@ IEEE Standard for Binary Floating-Point Arithmetic).
The Unicode Consortium. *The Unicode Standard, Version 5.0*,
[www.Unicode.org](http://www.Unicode.org)).
-
diff --git a/tests/expressions/assignment_operators/concat_assignment.phpt
b/tests/expressions/assignment_operators/concat_assignment.phpt
index 07467a0..80d21d8 100644
--- a/tests/expressions/assignment_operators/concat_assignment.phpt
+++ b/tests/expressions/assignment_operators/concat_assignment.phpt
@@ -256,4 +256,4 @@ foreach ($oper as $t)
>9223372036854775807< .= ><, result: string(19) "9223372036854775807"
>9223372036854775807< .= >abc<, result: string(22) "9223372036854775807abc"
>9223372036854775807< .= >9223372036854775807<, result: string(38)
>"92233720368547758079223372036854775807"
--------------------------------------
\ No newline at end of file
+-------------------------------------
diff --git a/tools/README.md b/tools/README.md
index c8a4f70..8a08ee8 100644
--- a/tools/README.md
+++ b/tools/README.md
@@ -5,4 +5,3 @@ Here are some possible examples:
1. A script to convert from Markdown to Word or PDF might live in here.
2. A tool to help move cross reference links from Word to Markdown.
3. A script to add numbered headings to Markdown.
-
diff --git a/tools/split.php b/tools/split.php
index 5c8eb3c..6cf1920 100644
--- a/tools/split.php
+++ b/tools/split.php
@@ -61,4 +61,4 @@ foreach($split_data as $filename => $contents) {
return $res;
}, $contents);
file_put_contents($filename, $contents);
-}
\ No newline at end of file
+}
diff --git a/tools/toc.php b/tools/toc.php
index 0ba92ee..774c7fa 100644
--- a/tools/toc.php
+++ b/tools/toc.php
@@ -31,4 +31,3 @@ foreach (spec_files() as $fileName => $path) {
}
file_put_contents($tocFile, "$prefix\n$output");
-
diff --git a/tools/xreference/section_map.csv b/tools/xreference/section_map.csv
index e80f477..dc5a59e 100644
--- a/tools/xreference/section_map.csv
+++ b/tools/xreference/section_map.csv
@@ -290,4 +290,4 @@ A.3.6,classes-1
A.3.7,interfaces-1
A.3.8,traits-1
A.3.9,namespaces-1
-Bibliography,bibliography
\ No newline at end of file
+Bibliography,bibliography