#
e367a4ac |
| 30-Apr-2024 |
Alexandru Pătrănescu |
Update the end of release cycle based on approved https://wiki.php.net/rfc/release_cycle_update
|
#
59c070f5 |
| 07-Dec-2023 |
Andreas Möller |
Enhancement: Enable `blank_line_after_opening_tag` fixer (#875)
|
#
c093fb53 |
| 06-Dec-2023 |
Andreas Möller |
Enhancement: Enable `trailing_comma_in_multiline` fixer (#647) * Enhancement: Enable and configure trailing_comma_in_multiline fixer * Fix: Run 'make coding-standards'
|
#
4ac417b3 |
| 06-Dec-2023 |
Andreas Möller |
Fix: Remove assignment from condition (#870)
|
#
2b708363 |
| 06-Dec-2023 |
Andreas Möller |
Fix: Do not pass null to function that expects DateTime or string (#869)
|
#
786d1c5b |
| 06-Dec-2023 |
Andreas Möller |
Fix: Add return type declarations (#865)
|
#
73a99691 |
| 29-Aug-2023 |
Andreas Möller |
Enhancement: Enable `new_with_braces` fixer (#697)
|
#
1ebc2c49 |
| 22-Aug-2022 |
Andreas Möller |
Enhancement: Enable `binary_operator_spaces` fixer Closes GH-667.
|
#
d9bcfed4 |
| 22-Aug-2022 |
Andreas Möller |
Enhancement: Enable `array_syntax` fixer Co-authored-by: MathiasReker <mathias@reker.dk> Closes GH-659.
|
#
5c9eab2f |
| 15-Jul-2022 |
Christoph M. Becker |
Fix CS violations (case of null, false and true)
|
#
b575ebd4 |
| 15-Jul-2022 |
Andreas Möller |
Enhancement: Include `*.inc` files (with exceptions) Closes GH-662.
|
#
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 ...
|
#
c6fecd85 |
| 28-Jun-2022 |
Andreas Möller |
Fix: Add type and return type declaration (#587)
|
#
1e7a49e2 |
| 28-Jun-2022 |
Andreas Möller |
Fix: Remove unused local variables Closes GH-578.
|
#
fa3391b9 |
| 28-Jun-2022 |
Kamil Tekiela |
Refactor compare_version function (#568)
|
#
527e1f4a |
| 07-Jan-2021 |
Sara Golemon |
Guard against security eol date not found
|
#
576f18a1 |
| 10-Jul-2019 |
Sara Golemon |
Move recent release finding logic to branches.icn, clean up bumpRelease
|
#
2735e5f0 |
| 31-May-2019 |
Sara Golemon |
Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__ 1/n - Update / and /include/ only.
|
#
d160aebe |
| 31-Jan-2019 |
Christoph M. Becker |
Fix 7.0 EOL dates
|
#
09f261e3 |
| 02-Dec-2018 |
Derick Rethans |
Change to use "midnight"
|
#
5e802342 |
| 02-Dec-2018 |
Derick Rethans |
Fix off by-one error. Today (Dec 2nd), it shows 'today', where it's really the last day.
|
#
b7231b60 |
| 01-Nov-2018 |
zrhoffman |
Fix #72707: Filter releases by minor version - Rewrite version-specific part of releases API to loop over releases only once - Releases API: filter by minor or patch version, if pr
Fix #72707: Filter releases by minor version - Rewrite version-specific part of releases API to loop over releases only once - Releases API: filter by minor or patch version, if provided - Remove unused variable - Rewrite version_array() to use array_pad(). Intended behavior: - If count($versionArray) is less than $length, version_array() should pad it with 0s to $length. - If count($versionArray) is greater than $length, version_array() should slice it to $length. - If $length is not set, leave $versionArray as-is after exploding it. - Remove unused variable - Still print "Unknown version" if the major version is found but the minor or patch version is not. - Remove excess white space - Bind array_replace_recursive() result to new variable instead of mutating $RELEASES global - Only set $machineReadable to its first element if $machineReadable is not empty.
show more ...
|
#
e235f794 |
| 17-Oct-2018 |
Peter Kokot |
Trim trailing whitespace This patch cleans all redundant trailing whitespace across the repository except for the icalendar files.
|
#
98405948 |
| 19-Jan-2017 |
Adam Harvey |
Tweak the 5.6 EOL date to match the 5.6.30 release.
|
#
252be3c2 |
| 05-Aug-2016 |
Rasmus Lerdorf |
Avoid wrnings in case we can't get the active branches for some reason
|