<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/cli/tests/php_cli_server.inc, 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 source code files</title>
<updated>2018-10-14T10:55:24+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-10-14T10:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1c850bfcca97e0456a716a1889b5cf6c5e477cd8'/>
<id>1c850bfcca97e0456a716a1889b5cf6c5e477cd8</id>
<content type='text'>
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

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.

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>Fix cli server test fails after recent AppVeyor image update</title>
<updated>2018-05-18T11:38:53+00:00</updated>
<author>
<name>Anatol Belski</name>
<email>ab@php.net</email>
</author>
<published>2018-05-18T11:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ee0ca6470dfcd97d84d7d4d24aface665f0022aa'/>
<id>ee0ca6470dfcd97d84d7d4d24aface665f0022aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase wait time for tests involving sockets to improve Travis relability</title>
<updated>2017-01-13T06:45:04+00:00</updated>
<author>
<name>Mitch Hagstrand</name>
<email>mhagstrand@gmail.com</email>
</author>
<published>2017-01-13T06:09:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fd92b911888f482d8d5794e6abac41bdff9ad3a2'/>
<id>fd92b911888f482d8d5794e6abac41bdff9ad3a2</id>
<content type='text'>
1. Increased sleep time from 25ms to 50ms
2. Added sleep to shutdown handlers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Increased sleep time from 25ms to 50ms
2. Added sleep to shutdown handlers
</pre>
</div>
</content>
</entry>
<entry>
<title>Makes the sapi web server and curl tests more reliable</title>
<updated>2016-12-27T20:52:05+00:00</updated>
<author>
<name>Mitch Hagstrand</name>
<email>mhagstrand@gmail.com</email>
</author>
<published>2016-12-23T20:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2d51267c07123d96353bce9b7c84b26d920674f7'/>
<id>2d51267c07123d96353bce9b7c84b26d920674f7</id>
<content type='text'>
1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
   runs on Windows also.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
   runs on Windows also.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-5.5' into PHP-5.6</title>
<updated>2015-01-06T01:27:37+00:00</updated>
<author>
<name>Adam Harvey</name>
<email>aharvey@php.net</email>
</author>
<published>2015-01-06T01:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=27ff425b78a1355a24d44eb719291ebd9022bc87'/>
<id>27ff425b78a1355a24d44eb719291ebd9022bc87</id>
<content type='text'>
* PHP-5.5:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
	sapi/cli/tests/php_cli_server.inc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-5.5:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
	sapi/cli/tests/php_cli_server.inc
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow CLI server test scripts to specify the name of the router file.</title>
<updated>2015-01-06T01:22:59+00:00</updated>
<author>
<name>Adam Harvey</name>
<email>aharvey@php.net</email>
</author>
<published>2015-01-06T01:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0cc2810498a56e263f2e1dd77f1f42e6c53dc99e'/>
<id>0cc2810498a56e263f2e1dd77f1f42e6c53dc99e</id>
<content type='text'>
This is required to write tests that behave differently when an index.php isn't
present in the document root. (Such as the one I'm about to commit.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required to write tests that behave differently when an index.php isn't
present in the document root. (Such as the one I'm about to commit.)
</pre>
</div>
</content>
</entry>
<entry>
<title>add NEWS entry; add simple test</title>
<updated>2013-08-06T20:51:58+00:00</updated>
<author>
<name>Michael Wallner</name>
<email>mike@php.net</email>
</author>
<published>2013-08-05T11:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=4a9d7c1f001a558ab0ebddb74e3b81d8d58b8095'/>
<id>4a9d7c1f001a558ab0ebddb74e3b81d8d58b8095</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sleep a little bit more, in some slow machine (like gcov), it will take a little more time to setup server</title>
<updated>2012-08-01T15:54:01+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2012-08-01T15:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=36100060b31ba85d5c70669168cfd418522884ce'/>
<id>36100060b31ba85d5c70669168cfd418522884ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test failed,  the fsockopen will be refused immediately if the server is not set up.</title>
<updated>2012-05-09T03:21:24+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2012-05-09T03:21:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7b2ab569976f63b22ba1c69e78e782a693d5076a'/>
<id>7b2ab569976f63b22ba1c69e78e782a693d5076a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug 61769 Random failure of php_cli_server*phpt tests</title>
<updated>2012-05-06T16:05:02+00:00</updated>
<author>
<name>Matt Ficken</name>
<email>mattficken@php.net</email>
</author>
<published>2012-05-06T16:05:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=87a011d3723aa9500e12a3f982df6b1f5cdfaedd'/>
<id>87a011d3723aa9500e12a3f982df6b1f5cdfaedd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
