Commit graph

15 commits

Author SHA1 Message Date
Peter Kokot
92ac598aab Remove local variables
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
2019-02-03 21:03:00 +01:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
Gabriel Caruso
ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Stanislav Malyshev
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Antony Dovgal
bb2ccc96d3 fix tests 2011-05-04 08:44:14 +00:00
Raphael Geissert
3be50a26a7 Add some sysvmsg coverage tests 2010-03-01 01:59:14 +00:00
Johannes Schlüter
611a56faba MFH: Add msg_queue_exists() function (Benjamin Schulz) [DOC] 2007-11-20 21:25:10 +00:00
Ilia Alshanetsky
5a7596591f ZTS fixes 2005-10-18 00:20:52 +00:00
foobar
f5fb13103f fix test 2005-06-21 13:06:10 +00:00
foobar
5ae4d8e701 typofix 2005-04-29 01:55:52 +00:00
Antony Dovgal
5a559e9a57 add test 2005-01-24 14:19:53 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Wez Furlong
2d88266965 Use ftok for message queue key. 2002-04-30 00:58:52 +00:00
Wez Furlong
ab69b0c6ec Slightly alter the signature of msg_send and msg_receive so that error
codes and serialized "false" messages can be distinguished.
2002-04-29 12:52:34 +00:00
Wez Furlong
f03115aae1 Add sysv IPC support (wrappers for msgsnd and friends). 2002-04-25 23:14:43 +00:00