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
Peter Kokot
d7a3edd45d
Trim trailing whitespace in *.phpt
2018-10-14 19:46:15 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Gabriel Caruso
84b195d9fc
Fix some misspellings
2018-08-12 16:15:45 +02:00
Gabriel Caruso
cf5f26b260
Fix failing test upstream
...
There was a trailing tab when a error message was generated. Removing
it, test is passing now.
2018-07-15 23:40:00 -03:00
Gabriel Caruso
b895690dfa
remove support for string|unicode in tests
2018-02-22 08:11:30 +01:00
Gabriel Caruso
21e3b0c70c
Remove trailing whitespace in inc files
2018-02-10 19:20:23 +01:00
Gabriel Caruso
fef879a2d6
Use bool instead of boolean while throwing a type error
...
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".
This a followup to ce1d69a1f6
, which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Anatol Belski
e9eeb5edb9
fix test portability
2016-06-17 09:05:27 +02:00
Anatol Belski
4e7cb057a0
partial test fixes, only obvious mistaking parts
2016-01-12 10:44:55 +01:00
Xinchen Hui
8bfa5193d5
Fix various bugs in interbase
...
Also read: https://marc.info/?l=php-internals&m=145077389117375&w=2
2016-01-11 08:32:47 +01:00
Popa Adrian Marius
b9868f23a0
fbird_close if connection_id omitted, the last opened link is assumed , so it was already closed
2015-01-28 15:39:42 +02:00
Popa Adrian Marius
899c24a8c1
cleanup comments from svn/cvs era
2014-11-24 18:40:20 +02:00
Veres Lajos
06fdf359e3
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-23 14:52:47 -08:00
Dmitry Stogov
21dec5f511
ext/interbase support (incomplete)
2014-07-29 10:15:01 +04:00
Popa Adrian Marius
1a0b80fe90
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Cleanup $ is not needed for git
2014-04-10 17:43:09 +03:00
Popa Adrian Marius
1c3ed86211
Cleanup $ is not needed for git
2014-04-10 17:42:32 +03:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
ac40c0b562
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:20:18 -07:00
Xinchen Hui
1b9e0de2cc
Remove executable permission on inc
2012-10-10 10:44:34 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
4e5e8c9da0
Merge branch 'PHP-5.4'
2012-10-10 10:45:34 +08:00
Xinchen Hui
4b152e5470
Merge branch 'PHP-5.4'
2012-10-10 10:32:38 +08:00
Popa Adrian Marius
b69f55c12e
sync firebird test 003 with the 5.4 branch , eliminate failing test http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Finterbase%2Ftests%2F003.phpt
2012-01-10 05:26:20 +00:00
Ferenc Kovacs
d26af683c9
skip the interbase tests if cannot connect to the server
2011-09-22 22:07:02 +00:00
Ferenc Kovacs
471a5a1182
skip the interbase tests if cannot connect to the server
2011-09-22 22:07:02 +00:00
Popa Adrian Marius
ddac8c1789
fix test 006 for firebird driver
2011-09-12 09:56:45 +00:00
Popa Adrian Marius
8b22751c24
fixes bug #55659 adn 006 test for firebird driver
2011-09-12 09:41:02 +00:00
Popa Adrian Marius
44bdf8aab1
Replace FIELD with CONSTANT (that is the alias returned in Firebird stable 2.5.x )
2011-07-25 13:04:22 +00:00
Popa Adrian Marius
ed1d46aac4
fix ident
2011-07-25 11:41:06 +00:00
Felipe Pena
5448e9e790
- MFH: Fix tests
2009-02-09 16:44:23 +00:00
Felipe Pena
b15f5357fe
- Fix tests
2009-02-09 16:44:10 +00:00
Felipe Pena
d5bb19938d
- MFH: New parameter parsing API
2008-11-27 02:17:22 +00:00
Felipe Pena
0d181765d5
- New parameter parsing API
2008-11-27 02:16:56 +00:00
Felipe Pena
65cfb01eaa
- MFH: New parameter parsing API
2008-11-23 20:01:21 +00:00
Felipe Pena
9dc4271531
- New parameter parsing API
2008-11-23 20:00:51 +00:00
Felipe Pena
02050bc6f5
- New tests
2008-11-11 17:54:11 +00:00
Felipe Pena
f464bb8d05
- New tests
2008-11-11 17:52:08 +00:00
Felipe Pena
9178503610
MFH:
...
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Felipe Pena
08aad5f7f7
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
...
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:26:26 +00:00
Felipe Pena
493b0589e8
- Make expected result compatible with recent Firebird version
2008-11-10 22:33:53 +00:00
Felipe Pena
b7d8550397
- Make expected result compatible with recent Firebird version
2008-11-10 22:33:00 +00:00
Felipe Pena
1460f722e3
- New tests
2008-11-10 18:02:56 +00:00
Felipe Pena
c9765a29e8
- New tests
2008-11-10 18:01:36 +00:00
Felipe Pena
e8f25c5b98
- MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
...
patch by Christian seiler
2008-10-07 18:18:45 +00:00
Felipe Pena
359690898e
- Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
...
patch by Christian seiler
2008-10-07 18:17:44 +00:00
Felipe Pena
d0ad1517f5
- MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event)
2008-10-07 15:28:45 +00:00
Felipe Pena
a417250c99
- Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event)
2008-10-07 15:27:06 +00:00
Felipe Pena
8a24cfc98c
- MFH: Fixed code ("Division by zero" anymore)
2008-10-07 12:51:21 +00:00