php-src/ext/gmp/tests
Peter Kokot b746e69887 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:32:30 +02:00
..
002.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
003.phpt Throw warning when converting invalid string to GMP 2013-12-30 14:38:09 +01:00
bug32773.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug50175.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug50283.phpt Drop support for GMP 4.1 2014-09-28 20:46:22 +02:00
bug52906.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug66872.phpt Add SKIPIF in GMP test 2014-03-12 14:17:08 +01:00
bug67917.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug69803.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug70284.phpt Fixed unzserialize(), to disable creation of unsupported data structures through manually crafted strings. (Dmitry) 2017-10-13 15:53:11 +03:00
bug74670.phpt Move GMP bug 74670 test file to tests dir 2018-07-20 19:43:09 +02:00
bug659967.phpt Fix bug #65997 by switching to Serializable for GMP 2013-10-29 20:58:30 +01:00
cast.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
clone.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
comparison.phpt GMP improvements 2013-06-17 17:59:12 +02:00
gmp_abs.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_and.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_binomial.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
gmp_clrbit.phpt Make gmp_setbit and gmp_clrbit return values consistent 2014-09-28 20:18:14 +02:00
gmp_cmp.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_com.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_div_q.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_div_qr.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_div_r.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_divexact.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_export.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
gmp_fact.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_gcd.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_gcdext.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_hamdist.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_import.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
gmp_init.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_intval.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_invert.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_jacobi.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_kronecker.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
gmp_lcm.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
gmp_legendre.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_mod.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_neg.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_nextprime.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_or.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_perfect_power.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
gmp_perfect_square.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_php_int_max.phpt Skip 64bit test on 32bit 2014-09-02 18:42:39 +02:00
gmp_popcount.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_pow.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_pown.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_prob_prime.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_random_bits.phpt Run gmp_random tests more quickly 2015-04-16 16:29:57 +02:00
gmp_random_range.phpt Fixed bug #69803 2015-06-11 22:20:05 +02:00
gmp_random_seed-32bit.phpt Deprecate gmp_random() 2017-02-03 18:52:57 +01:00
gmp_random_seed.phpt Deprecate gmp_random() 2017-02-03 18:52:57 +01:00
gmp_random.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_remroot.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_root.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_scan0.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_scan1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_setbit_long.phpt Skip on Travis-CI 2018-01-03 18:32:33 +01:00
gmp_setbit.phpt Make gmp_setbit and gmp_clrbit return values consistent 2014-09-28 20:18:14 +02:00
gmp_sign.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_sqrt.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_sqrtrem.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_strval.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_sub.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_testbit.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
gmp_xor.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
overloading.phpt Add GMP tests for some uncovered branches 2014-09-04 20:03:29 +02:00
serialize.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
unserialize_with_reference.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00