<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/tests/classes/class_example.phpt, branch php-7.3.15</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Sync leading and final newlines in *.phpt sections</title>
<updated>2018-10-15T02:32:30+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-10-15T02:32:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b746e6988743b46ccb0542d5d568eef0608ee296'/>
<id>b746e6988743b46ccb0542d5d568eef0608ee296</id>
<content type='text'>
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-' &lt;newline&gt;'
characters plus a terminating '&lt;newline&gt;' 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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-' &lt;newline&gt;'
characters plus a terminating '&lt;newline&gt;' 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim trailing whitespace in *.phpt</title>
<updated>2018-10-14T17:45:12+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-10-14T15:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=782352c54ad69c517e3c32b0dd2c25d74842647a'/>
<id>782352c54ad69c517e3c32b0dd2c25d74842647a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests for E_STRICT and check for E_STRICT in run-tests.php.</title>
<updated>2003-11-30T13:57:20+00:00</updated>
<author>
<name>Marcus Boerger</name>
<email>helly@php.net</email>
</author>
<published>2003-11-30T13:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c3fddcab622186c9bdbca89a1af7b14df0ba6345'/>
<id>c3fddcab622186c9bdbca89a1af7b14df0ba6345</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefix all engine 2 tests</title>
<updated>2003-08-09T14:48:47+00:00</updated>
<author>
<name>Marcus Boerger</name>
<email>helly@php.net</email>
</author>
<published>2003-08-09T14:48:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ffd6f29ef8244c18669b8674da01dc0a3cec3e7e'/>
<id>ffd6f29ef8244c18669b8674da01dc0a3cec3e7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Convert cfunction -&gt; function.</title>
<updated>2001-04-26T19:42:08+00:00</updated>
<author>
<name>Andi Gutmans</name>
<email>andi@php.net</email>
</author>
<published>2001-04-26T19:42:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f725a0d11a2f0bf7a1bb6be697e1e5f9f08c06ce'/>
<id>f725a0d11a2f0bf7a1bb6be697e1e5f9f08c06ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* all tests should pass now (expect for the interbase stuff that I haven't</title>
<updated>2000-08-31T22:21:47+00:00</updated>
<author>
<name>Stig Bakken</name>
<email>ssb@php.net</email>
</author>
<published>2000-08-31T22:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1bb90f5805ea471dd85ee0806203d3fe71059630'/>
<id>1bb90f5805ea471dd85ee0806203d3fe71059630</id>
<content type='text'>
  had the chance to test)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  had the chance to test)

</pre>
</div>
</content>
</entry>
<entry>
<title>@PHP 3 regression testing framework re-born (Stig)</title>
<updated>2000-08-27T19:46:06+00:00</updated>
<author>
<name>Stig Bakken</name>
<email>ssb@php.net</email>
</author>
<published>2000-08-27T19:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=315f4f5658cf22a17ba06fa2ca2f3d890355873f'/>
<id>315f4f5658cf22a17ba06fa2ca2f3d890355873f</id>
<content type='text'>
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.

</pre>
</div>
</content>
</entry>
</feed>
