#
6c604f13 |
| 21-Nov-2024 |
Sergey Panteleev |
PHP 8.4 announcement page (#1124)
|
#
cb385e3e |
| 30-Oct-2024 |
Nafis Reza <68966649+nafisreza@users.noreply.github.com> |
Update hero section styles according to BEM methodology (#1107)
|
#
4cf1d83d |
| 06-Jul-2024 |
Sergey Panteleev |
OG meta tags by default (#1027) Fix #981
|
#
c89bec8f |
| 02-Feb-2024 |
Jim Winstead |
Add links to PHP Foundation with a Donate button (#821) Co-authored-by: Derick Rethans <github@derickrethans.nl> Co-authored-by: Lu Fei <52o@qq52o.cn>
|
#
59c070f5 |
| 07-Dec-2023 |
Andreas Möller |
Enhancement: Enable `blank_line_after_opening_tag` fixer (#875)
|
#
00342c40 |
| 07-Dec-2023 |
Andreas Möller |
Fix: Remove vim instruction (#880)
|
#
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'
|
#
db4d7464 |
| 06-Dec-2023 |
Andreas Möller |
Remove indentation in array arguments (#860)
|
#
c6525ac6 |
| 23-Nov-2023 |
Roman Pronskiy |
Add mastodon link on mainpage (#837)
|
#
e7d92c25 |
| 23-Nov-2023 |
Annika Backstrom |
Add rel=me verification link for Mastodon (#833)
|
#
34b4f312 |
| 23-Nov-2023 |
Sergey Panteleev |
PHP 8.3 released! (#825)
|
#
fd62baa2 |
| 29-Aug-2023 |
Mathias Reker ⚡️ |
List syntax (#529) List (array destructuring) assignment should be declared using the configured syntax.
|
#
ed9aed27 |
| 08-Dec-2022 |
Sergey Panteleev |
PHP 8.2 Release page (#728)
|
#
6d80bca1 |
| 02-Sep-2022 |
Darian Benam |
Add required `alt` attribute to hero header image on homepage Closes GH-693.
|
#
1ebc2c49 |
| 22-Aug-2022 |
Andreas Möller |
Enhancement: Enable `binary_operator_spaces` fixer Closes GH-667.
|
#
57f505ed |
| 22-Aug-2022 |
Andreas Möller |
Enhancement: Enable and configure `concat_space` fixer Closes GH-657.
|
#
d9bcfed4 |
| 22-Aug-2022 |
Andreas Möller |
Enhancement: Enable `array_syntax` fixer Co-authored-by: MathiasReker <mathias@reker.dk> Closes GH-659.
|
#
b3c9551c |
| 12-Jul-2022 |
Andreas Möller |
Enhancement: Enable `no_extra_blank_lines` fixer Closes GH-646.
|
#
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.
|
#
3a2761d9 |
| 08-Jul-2022 |
Andreas Möller |
Fix: Heredoc syntax Closes GH-564.
|
#
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 ...
|
#
530b28e9 |
| 17-Jun-2022 |
Mathias Reker ⚡️ |
Add void return types Add void return type to functions with missing or empty return statements. Closes GH-535.
|
#
bab1fa9a |
| 15-Jun-2022 |
Lucas Azevedo |
Add home page social preview (#524)
|
#
cfcf303e |
| 13-Jun-2022 |
Lucas Azevedo |
Improve homepage hero design Co-authored-by: Kamil Tekiela <tekiela246@gmail.com> Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de> Closes GH-459.
|