php-src/Zend/tests/traits
Peter Kokot d679f02295 Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

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.

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
2018-10-15 04:33:09 +02:00
..
bugs Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug54441.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug55137.phpt
bug55214.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug55355.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug55372.phpt
bug55424.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug55524.phpt
bug55554a.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554b.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554c.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554d.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554e.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554f.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug55554g.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60145.phpt
bug60153.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60165a.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60165b.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60165c.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60165d.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60173.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60217a.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60217b.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60217c.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60369.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60717.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug60809.phpt
bug61052.phpt
bug61998.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug63911.phpt 63911: Compare opcodes of the op_array to determine different functions 2017-11-22 05:35:24 +00:00
bug64070.phpt
bug64235.phpt
bug64235b.phpt
bug65576a.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug65576b.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug69579.phpt Give a reason why the test was skipped 2018-07-30 09:03:21 -03:00
bug74607.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug74607a.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug74922.phpt Fix #74922 - Try to resolve constants when importing trait properties 2017-11-02 21:06:27 +01:00
bug74922a.phpt Fix #74922 - Try to resolve constants when importing trait properties 2017-11-02 21:06:27 +01:00
bug74922b.inc Fix #74922 - Try to resolve constants when importing trait properties 2017-11-02 21:06:27 +01:00
bug74922b.phpt Fix #74922 - Try to resolve constants when importing trait properties 2017-11-02 21:06:27 +01:00
bug74922c.phpt Fix #74922 - Try to resolve constants when importing trait properties 2017-11-02 21:06:27 +01:00
bug75607.phpt Fix some misspellings 2018-02-06 16:59:00 +01:00
bug75607a.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug76539.phpt Added test case for bug #76539 for master only as the behavior has been restored 2018-07-04 19:50:34 +02:00
bug76700.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug76773.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
conflict001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
conflict002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
conflict003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
error_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_002.phpt
error_003.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_005.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_006.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_007.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
error_008.phpt
error_009.phpt
error_010.phpt
error_011.phpt
error_012.phpt
error_013.phpt
error_014.phpt
error_015.phpt
error_016.phpt
flattening001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
flattening002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
flattening003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
get_declared_traits_001.phpt
get_declared_traits_002.phpt
get_declared_traits_003.phpt
inheritance001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
inheritance002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
inheritance003.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
interface_001.phpt
interface_002.phpt
interface_003.phpt
language001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
language002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language004.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language005.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language006.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language007.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language008a.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language008b.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language009.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language010.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
language011.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
language012.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
language013.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
language014.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
language015.phpt
language016.phpt
language017.phpt
language018.phpt
language019.phpt
methods_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
methods_002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
methods_003.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
no_static_arg_binding.phpt
noctor001.phpt
property001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property003.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property005.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property006.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property007.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property008.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
property009.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_004.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_forward_static_call.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
static_get_called_class.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
trait_constant_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
trait_constant_002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00