| 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Allows using an alternative array argument with
support for the samesite option on the following
functions:
setcookie
setrawcookie
session_set_cookie_params
|
|
|
|
| |
https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Fixed #74892 - Fixed URL rewriting for urls started with #
|
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 6c32d271d238a18cfc19d98877cdead1ab38f417)
This should have already been merged via
9cd82df0bbb1f9a1407ffb749292576be1b91c07, but that merge went wrong.
|
| | |
|
| | |
|
| |
| |
| |
| | |
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 ce1d69a1f6dcf15d43029301059c25e5bc09a577, which
implements the same change for integer->int.
|
| |
| |
| |
| |
| |
| |
| | |
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".
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fixed bug #74833, SID constant created with wrong module number
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fixed bug #74833, SID constant created with wrong module number
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.0:
Fixed bug #74833, SID constant created with wrong module number
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | | |
the session is active
|
| | |
| | |
| | |
| | | |
read-only/getter mode
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fixed tests when using cumstom php.ini(session.save_handler)
Fix Bug #74541 Wrong reflection on session_start()
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fixed tests when using cumstom php.ini(session.save_handler)
Fix Bug #74541 Wrong reflection on session_start()
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fixes for session and fpm tests in PHP7.0 branch
|
| | |
| | |
| | |
| | |
| | |
| | | |
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Disabled session GC in session_set_save_handler_basic.phpt
3. Fixed GC in save_handler.inc to delete files based on age
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Fixed user session GC function to return number of sessions removed
3. Disabled session GC in session_set_save_handler_basic.phpt
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
This allows us to unfork a bunch of tests for Windows.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
than set_save_handler().
|
| | |
| | |
| | |
| | | |
As a result, users may use PS_UNDEF_MAKER(=!) char for session variable name.
|
| | |
| | |
| | |
| | |
| | | |
Since there's no fatal error anymore, the execution continues. However,
removing the CWD is not always possible.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Fixed tests
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* pull-request/2221:
Add a test for bug 73529
|