1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Commit Graph

56 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
cdf59074d3 Replace languages.inc globals with I18n\Languages consts (#1121)
The include/languages.inc file was not removed as it's used in other
repositories. It should be removed after migration.

Tests were added to ensure that the global variables and the constants
are in sync with each other.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-11-14 11:37:00 +03:00
Andreas Möller
faf2e75920 Enhancement: Enable no_singleline_whitespace_before_semicolons fixer (#882) 2023-12-07 15:08:15 +01:00
Andreas Möller
08a7beea92 Enhancement: Enable function_declaration fixer (#862) 2023-12-06 15:10:28 +01:00
Andreas Möller
a8c736a079 Enhancement: Enable void_return fixer (#661)
* Enhancement: Enable void_return fixer

* Fix: Run 'make coding-standards'
2023-12-05 14:06:29 +01:00
Dan Wallis
57d8660239 Add redirects for unhandled keywords 2023-11-29 16:17:57 +00:00
Lu Fei
3756a2bdf1 Fix max_input_vars redirect broken (#846) 2023-11-28 10:32:05 +00:00
Pierrick Charron
d2cc3212ad Fix GH-793: Broken redirections (#805) 2023-08-24 18:23:51 +01:00
Andreas Möller
1ebc2c4996 Enhancement: Enable binary_operator_spaces fixer
Closes GH-667.
2022-08-22 19:17:38 +02:00
Andreas Möller
d9bcfed482 Enhancement: Enable array_syntax fixer
Co-authored-by: MathiasReker <mathias@reker.dk>

Closes GH-659.
2022-08-22 18:59:14 +02:00
Andreas Möller
b575ebd409 Enhancement: Include *.inc files (with exceptions)
Closes GH-662.
2022-07-15 13:57:08 +02:00
Fabien Villepinte
64b9906741 Fix dead link in php.ini: https://php.net/zend.assertions
Closes GH-496.
2022-02-21 10:45:53 +01:00
Rasmus Lerdorf
235089720f Add spaceship shortcut 2021-08-02 11:19:09 -07:00
Sara Golemon
144c8bcf34 Type and simplify is_known_*() helpers 2021-07-05 13:32:26 +00:00
Sara Golemon
3707f9a7c4 Update status_header() helper function 2021-07-05 13:25:11 +00:00
Sara Golemon
f5737afaf5 Modernize a term lookup map slightly 2021-07-04 23:01:16 +00:00
Christoph M. Becker
61455a554f Fix #81089: Dead link in php.ini: http://php.net/session.sid-length 2021-06-01 14:18:42 +02:00
Anna Filina
365cf2be8f Parse page id even when .php is missing 2020-12-18 23:47:36 +01:00
Anna Filina
d56830dfce Display custom 404 page when legacy manuals found
Closes GH-385.
2020-12-14 19:50:51 +01:00
Christoph M. Becker
1164006fb7 Add shortcut for Iterable 2020-03-05 17:05:22 +01:00
Christoph M. Becker
2f1df31b02 Add shortcut for assert.exception
This is already used in php.ini-(development|production).
2019-10-28 12:34:10 +01:00
Peter Cowburn
4716c2ba20 friendlier error page for manual pages under inactive languages (fix bug #77637) 2019-03-26 21:46:22 +00:00
Christoph M. Becker
5361ac5cd6 INI shortcuts use hyphens instead of underscores 2019-03-11 16:18:57 +01:00
Christoph M. Becker
3497128d37 Add shortcut for sqlite3.extension_dir 2019-03-11 16:14:44 +01:00
Christoph M. Becker
23097524ba Add shortcut for opcache.preload 2019-01-21 17:16:35 +01:00
Christoph M. Becker
584ac86269 Add shortcuts for syslog.* ini directives 2018-12-30 16:04:27 +01:00
Peter Kokot
e235f79473 Trim trailing whitespace
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00
Peter Kokot
0f95b8c709 Remove unused Git attributes ident
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.
2018-10-17 07:29:46 +02:00
Philip Olson
67c302a883 Point 'extends' to its docs; current redirect is a 404 2018-05-01 08:22:01 -07:00
Peter Cowburn
38f4dff1fc fix is_known_snippet() links (bug #69386) 2015-04-08 15:15:29 +01:00
Justin Martin
3d4f16ce41 Remove the URI fragment for the finally keyword, for stability. 2013-10-17 12:29:36 -07:00
Justin Martin
156174565d Added finally construct as a known term, redirecting to its exception handling example. 2013-10-17 12:29:36 -07:00
Adam Harvey
ffb9b8ff51 Fix bug #65073 (Grammatical error on PHP.net Website).
Problem not persist.
2013-06-20 11:05:46 -07:00
Peter Cowburn
cf9fd94be4 fix E_NOTICE on manual-lookup.php when no function passed 2012-04-17 22:36:16 +01:00
Philip Olson
b2f9db7009 added the juggling term, as requested by David Tajchreber 2012-01-07 04:55:50 +00:00
Philip Olson
58f08f7b89 php.net/mysql changed 2012-01-05 11:24:19 +00:00
Hannes Magnusson
40944a9682 Fixed bug#55430, introduce the session.upload_progress family to the world 2011-08-30 11:13:22 +00:00
Hannes Magnusson
d8ab9e1d73 typo, should be mysqli 2011-08-23 10:19:24 +00:00
Hannes Magnusson
3895a501a9 another missing mysql option from php.ini 2011-08-23 10:16:45 +00:00
Hannes Magnusson
dca77d8444 add the ini entries from php.ini, see bug#55404 2011-08-17 12:12:20 +00:00
Philip Olson
c075a9136a Removed manual/en/ from links. Sorry 404 handler, but you have more work to do. This coincides with how we do it elsewhere. 2011-07-19 09:49:57 +00:00
Philip Olson
4f8bc3d78a Added rudimentary search snippets feature. Common searches result in snippets of text. See also the comments. And feel free to improve the text. 2011-07-19 06:15:22 +00:00
Philip Olson
2297d4b05f Updated links for inis moved from safe-mode to core (thanks yawk) 2010-04-14 02:47:04 +00:00
Philip Olson
3505ae77ed fixed typo 2009-07-08 04:43:12 +00:00
Philip Olson
8ef8bab230 added zend.enable_gc redirect 2009-07-08 03:21:36 +00:00
Philip Olson
27fb98f9e6 Added shortcuts for closures and nowdoc (as suggested by rasmus) 2009-06-17 00:50:39 +00:00
Philip Olson
3c1610e117 Added url redirection for the most commonly searched variables and terms 2009-04-28 17:11:26 +00:00
Philip Olson
191da39213 update directives that do not match the ids used in the manual, which
are gd->image, odbc->uodbc
2009-04-10 01:07:39 +00:00
Philip Olson
838bccc5d8 Added url redirection for all ini settings linked to within the new php.ini* files.
Example: http://php.net/short-open-tag
2009-04-09 23:47:06 +00:00
Hannes Magnusson
624475c7bc Fixed bug#43843 (Documentation sites return HTTP/1.1 even if 1.0 requested -> Garbage in Output)
Patch by thekid@
2008-01-17 19:17:23 +00:00
Hannes Magnusson
5771bebfec Sanity check the requested mirror
# Prevents blind redirects to external domains
2007-05-31 17:10:45 +00:00