| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-' <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
|
| |
|
|
|
|
|
| |
*.php files are ignored by Git and a better practice might be to rename
PHP included files for tests.
|
|
|
|
| |
Released Oct 2009, part of RHEL 6.
|
|
|
|
| |
Certain files don't need to be executables.
|
|\
| |
| |
| |
| | |
* PHP-7.3:
Fix SKIPIF conditions
|
| |
| |
| |
| |
| | |
The test calls `mb_convert_encoding()` and as such requires the
mbstring extension.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Add test for bug #76738
|
| |
| |
| |
| |
| | |
Original repro. It's unwieldy, but it's otherwise hard to trigger
the wrong buffer handling behavior.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix memory leak
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit 8b3174f256147a1708821621a8cbe2b257fca737)
|
| |
| |
| |
| | |
(cherry picked from commit 083285f22a74989689f97d1d53476e7eaec35acc)
|
| |
| |
| |
| | |
(cherry picked from commit 36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e)
|
| |
| |
| |
| | |
(cherry picked from commit ef9ed19ec7f141311feea1d42467f5773cfc09bc)
|
| |
| |
| |
| |
| |
| | |
This reverts commit ef9ed19ec7f141311feea1d42467f5773cfc09bc and its
follow-up 36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e, since these caused
a serious regression (see bug #76738).
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files:
- ext/*/config*.m4
- configure.ac
- acinclude.m4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Sync callback signature with libxml2 2.9.8
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Sync callback signature with libxml2 2.9.8
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
where we sure about string persistence.
|
| | | |
|
| | |
| | |
| | |
| | | |
__construct, __destruct, __wakeup does not have return types defined.
|
| | |
| | |
| | |
| | | |
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Remove duplicated assignment
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Remove duplicated assignment
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fixes bug #75871 Use pkg-config for libxml2 if available
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fixes bug #75871 Use pkg-config for libxml2 if available
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|