Skip to content

Commit be010b4

Browse files
committed
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
1 parent 97bef5c commit be010b4

15 files changed

+3
-23
lines changed

LICENSE

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ The first draft of this specification was initially written in 2014 by
66
Facebook, Inc.
77

88
This specification is distributed without any warranty.
9-

spec/01-introduction.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ use by the following:
1010
For now, the runtime library has been excluded, as that is documented at
1111
[www.php.net](http://www.php.net). However, the document can contain references
1212
to the library functions, usually in the form of links to http://www.php.net.
13-

spec/02-conformance.md

-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ to exist in future revisions. Usually, they are old approaches that have
5252
been superseded by new ones, and use of the old approach is discouraged.
5353
(Examples of this include the use of braces ({ }) for subscripting, and
5454
the use of old-style constructor names).
55-

spec/03-terms-and-definitions.md

-2
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,3 @@ apply:
6464

6565
Other terms are defined throughout this specification, as needed, with
6666
the first usage being typeset *like this*.
67-
68-

spec/05-types.md

-3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,3 @@ Each distinct resource has a unique identity of some unspecified form.
209209
The library function [`is_resource`](http://www.php.net/is_resource) indicates if a given value is a
210210
resource, and the library function
211211
[`get_resource_type`](http://php.net/manual/function.get-resource-type.php) indicates the type of a resource.
212-
213-
214-

spec/06-constants.md

-3
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,3 @@ they can be combined meaningfully using bitwise operators.
144144

145145
A constant may be defined inside or outside of functions, inside
146146
a [class](14-classes.md#constants), or inside an [interface](15-interfaces.md#constants).
147-
148-
149-

spec/12-arrays.md

-2
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ An array is created and initialized using the
4040

4141
The value (and possibly the type) of an existing element is changed, and
4242
new elements are inserted, using the subscript operator [`[]`](10-expressions.md#subscript-operator).
43-
44-

spec/16-traits.md

-2
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,3 @@ trait T4
235235
}
236236
}
237237
```
238-
239-

spec/17-exception-handling.md

-2
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,3 @@ parent class' constructor as their first operation to ensure the
148148
base-class part of the new object is initialized appropriately. They
149149
often also provide an augmented implementation of
150150
[`__toString()`](14-classes.md#method-__tostring).
151-
152-

spec/20-bibliography.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ IEEE Standard for Binary Floating-Point Arithmetic).
1010

1111
The Unicode Consortium. *The Unicode Standard, Version 5.0*,
1212
[www.Unicode.org](http://www.Unicode.org)).
13-

tests/expressions/assignment_operators/concat_assignment.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ foreach ($oper as $t)
256256
>9223372036854775807< .= ><, result: string(19) "9223372036854775807"
257257
>9223372036854775807< .= >abc<, result: string(22) "9223372036854775807abc"
258258
>9223372036854775807< .= >9223372036854775807<, result: string(38) "92233720368547758079223372036854775807"
259-
-------------------------------------
259+
-------------------------------------

tools/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ Here are some possible examples:
55
1. A script to convert from Markdown to Word or PDF might live in here.
66
2. A tool to help move cross reference links from Word to Markdown.
77
3. A script to add numbered headings to Markdown.
8-

tools/split.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
return $res;
6262
}, $contents);
6363
file_put_contents($filename, $contents);
64-
}
64+
}

tools/toc.php

-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@
3131
}
3232

3333
file_put_contents($tocFile, "$prefix\n$output");
34-

tools/xreference/section_map.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,4 @@ A.3.6,classes-1
290290
A.3.7,interfaces-1
291291
A.3.8,traits-1
292292
A.3.9,namespaces-1
293-
Bibliography,bibliography
293+
Bibliography,bibliography

0 commit comments

Comments
 (0)