#
59c070f5 |
| 07-Dec-2023 |
Andreas Möller |
Enhancement: Enable `blank_line_after_opening_tag` fixer (#875)
|
#
c68e5a9e |
| 12-Jul-2022 |
Andreas Möller |
Enhancement: Enable `single_space_after_construct` fixer Closes GH-640.
|
#
f3585d9b |
| 11-Jul-2022 |
Andreas Möller |
Enhancement: Enable `indentation_type` fixer Closes GH-622.
|
#
1b83fd7a |
| 03-Jul-2022 |
Ayesh Karunaratne |
Multiple micro-optimizations * Replace `ob_get_contents();ob_clean()` with `ob_get_clean()` `ob_get_clean()` is equivalent to `ob_get_contents()` followed by `ob_clean()`.
Multiple micro-optimizations * Replace `ob_get_contents();ob_clean()` with `ob_get_clean()` `ob_get_clean()` is equivalent to `ob_get_contents()` followed by `ob_clean()`. * Replace `intval()` calls with `(int)` type cast This is a micro-optimization because `intval()` is a function call, and the type cast is about 6 times fast. * Replace `preg_replace` call that could be done with an `rtrim()` call In `./error.php`, there is a `preg_replace('!/+$!', '', $URI);` call that essentially is equivalent to `rtrim()`, that both calls removing trailing slash characters in `$URI`. The `rtim()` call is more legible and faster. * Combine consecutive `str_replace` calls to a single `str_replace` call * Use short ternary operator where possible Improves code readability. * Cascade various `else` statements where possible Cleans up the code by removing unnecessary `else` blocks and moving the code to the parent context if the previous `if` block exits the function by either terminating the script, or with a `return` statement. * Combine multiple `isset()` calls to a single `isset()` `isset()` accepts multiple parameters and returns `true` only if all of the parameters are `isset`. It makes sense to combine multiple individual `isset` calls to a single call for better readability. * Replace `for` loop with a `foreach` loop * Remove unnecessary character escapes in regular expressions Regular expression special characters are context-sensitive. For example, special characters such as `.` are not considered special within square braces (`[]`). This removes several of such instances that certain characters are escaped, but it is not strictly necessary within the context. This improves the readability of the expression. See more information at [PHP.Watch: Writing better Regular Expressions in PHP](https://php.watch/articles/php-regex-readability#reduce-escape) * Remove unnecessary break statement * Remove unnecessary PHP close tags * Remove redundant JSON_ERROR_NONE check Remove unnecessary `json_last_error() == JSON_ERROR_NONE` where the decoded object is inspected already. Closes GH-603.
show more ...
|
#
c2db08cd |
| 19-May-2021 |
George Peter Banyard |
Remove load checker (#404) We do not use mirrors anymore, thus this is irrelevant.
|
#
cfc6b38e |
| 10-Jul-2019 |
Sara Golemon |
Goodbye Magic Quotes
|
#
2735e5f0 |
| 31-May-2019 |
Sara Golemon |
Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__ 1/n - Update / and /include/ only.
|
#
e235f794 |
| 17-Oct-2018 |
Peter Kokot |
Trim trailing whitespace This patch cleans all redundant trailing whitespace across the repository except for the icalendar files.
|
#
0f95b8c7 |
| 30-Jun-2018 |
Peter Kokot |
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 use
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.
show more ...
|
#
ee6c0e89 |
| 17-Apr-2012 |
Peter Cowburn |
make sure params are strings for manual-lookup.php (bug #61756)
|
#
d7b1cf86 |
| 19-Jul-2011 |
Philip Olson |
WS
|
#
aad52615 |
| 16-Jul-2011 |
Rasmus Lerdorf |
Distinguish between 404s and explicit searches and don't log mirrortest
|
#
057281b7 |
| 12-Jun-2010 |
Philip Olson |
Fixed minor logic issues, as per E_NOTICE errors found within the logs.
|
#
18bb98f5 |
| 28-Feb-2006 |
Rasmus Lerdorf |
Some new search options
|
#
8a28534c |
| 08-Aug-2003 |
Gabor Hojtsy |
Manual lookup remake: - use new type of includes - add base page functionality - use $_GET vars instead of register_globals - use existing information ($MQ, $LANG) - use mirr
Manual lookup remake: - use new type of includes - add base page functionality - use $_GET vars instead of register_globals - use existing information ($MQ, $LANG) - use mirror_redirect() for redirection
show more ...
|
#
032a075a |
| 22-May-2003 |
Wez Furlong |
Add primitive load balancing.
|
#
313162c7 |
| 11-Sep-2002 |
Colin Viebrock |
fix broken search stuff
|
#
67090a66 |
| 02-May-2002 |
jim winstead |
get rid of prevsearch stuff. it doesn't play nice with caching.
|
#
667de180 |
| 07-Mar-2002 |
jim winstead |
the reset cleared it up
|
#
d2ad1973 |
| 07-Mar-2002 |
jim winstead |
try to figure out why some mirrors have problems with the function list search (and try one possible solution)
|
#
68cce3c2 |
| 21-Sep-2001 |
jim winstead |
remove magic quotes here, too
|
#
6b304c42 |
| 07-Jul-2001 |
jim winstead |
hide the $MIRRORS array behind some access functions, for the most part
|
#
32d0d331 |
| 01-Jul-2001 |
Gabor Hojtsy |
Just a technical patch (hope it wont brake anything) Useing <?php standard open tags instead of the shorter one At least trying to be short_tags off compatible. more to
Just a technical patch (hope it wont brake anything) Useing <?php standard open tags instead of the shorter one At least trying to be short_tags off compatible. more to come...
show more ...
|
#
4a470fe1 |
| 02-Apr-2001 |
Colin Viebrock |
suggestion to keep search text visible in header
|
#
d2a1837a |
| 08-Mar-2001 |
Colin Viebrock |
If you do a "quickref" search, and it fails, show the entire quickref page instead of searching the entire site.
|