php-src/Zend/tests/assert
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
..
bug70208.phpt Deprecate assert() with string argument 2017-02-03 21:02:52 +01:00
bug70528.phpt Fixed bug #70528 (assert() with instanceof adds apostrophes around class name) 2015-09-19 19:49:36 -07:00
expect_001.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
expect_002.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_003.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_004.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_005.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_006.phpt
expect_007.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_008.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_009.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_010.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_011.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_012.phpt
expect_013.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
expect_014.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
expect_015.phpt Fix nullable type pretty-printing 2018-06-29 23:22:41 +02:00
expect_016.phpt Fix missed assertion tests 2015-10-18 02:23:43 -05:00
expect_017.phpt
expect_018.phpt Fix missed assertion tests 2015-10-18 02:23:43 -05:00
expect_019.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
expect_empty_stmt_bug.phpt Remove extra semicolons 2018-07-26 12:38:22 +02:00
indirect_var_access_misoptimization.phpt Add _IS_NUMBER as cast_object() target type 2017-12-26 12:39:06 +01:00