History log of /web-php/ (Results 676 – 700 of 12350)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
153437de08-Jul-2022 Andreas Möller

Fix: Command (#627)

3a2761d908-Jul-2022 Andreas Möller

Fix: Heredoc syntax

Closes GH-564.

83ef234108-Jul-2022 Andreas Möller

Enhancement: Add CONTRIBUTING.md

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-615.

d47ac32008-Jul-2022 Andreas Möller

Enhancement: Document platform requirement in composer.json

Closes GH-408.

2c3eb8db08-Jul-2022 Guilliam Xavier

Changelog: do not confuse GH-xxx with #xxx bugs

Closes GH-619.

22ea1e2e08-Jul-2022 Remi Collet

drop entry for reverted fix

fcccf51907-Jul-2022 Ben Ramsey

Announce PHP 8.1.8

4d130ef507-Jul-2022 Sergey Panteleev

Announce PHP 8.2.0alpha3

b112b43607-Jul-2022 Gabriel Caruso

Announce PHP 8.0.21

b3d3db1907-Jul-2022 Robert Munsky

Announcing International PHP Conference Munich 2022

Co-authored-by: cbrueckner <cbrueckner@sandsmedia.com>
Co-authored-by: Amir Jelodar <ajelodar@sandsmedia.com>

Closes GH-617.

647f236305-Jul-2022 Ben Ramsey

Update distributions

c6acddf106-Jul-2022 Kamil Tekiela

Remove id prefix (#618)

73f3c62805-Jul-2022 Mathias Reker ⚡️

Combine consecutive unsets (#543)

9f0ae51305-Jul-2022 Mathias Reker ⚡️

Remove parentheses around include (#546)

0ba9485e05-Jul-2022 Andreas Möller

Enhancement: Add badge to README.md

Closes GH-613.

fe57ff9c05-Jul-2022 Andreas Möller

Update PHP version requirement

Closes GH-609.

a83ae2fa05-Jul-2022 Andreas Möller

Enhancement: Use PSR-4 autoloader (#604)

870dee1e05-Jul-2022 Christoph M. Becker

Test UserNotes\Sorter

We add a copy of the latest run-tests.php from the PHP-8.0 branch, and
tests for the `UserNotes\Sorter` with full code coverage. We also run tests
on GitHub Ac

Test UserNotes\Sorter

We add a copy of the latest run-tests.php from the PHP-8.0 branch, and
tests for the `UserNotes\Sorter` with full code coverage. We also run tests
on GitHub Actions.

Co-authored-by: Andreas Möller <am@localheinz.com>

Closes GH-606.

show more ...

c1dce90805-Jul-2022 Ayesh Karunaratne

Minor optimizations in CSS files to shed some weight (#612)

- Removes px suffix from 0px.
- Combines CSS properties where they are immediately overridden in the same selector block, or

Minor optimizations in CSS files to shed some weight (#612)

- Removes px suffix from 0px.
- Combines CSS properties where they are immediately overridden in the same selector block, or can be combined without side effects.

This saves about 50 bytes off the CSS scripts. it ain't much but it's honest work

show more ...

90cc484d05-Jul-2022 Sergey Panteleev

Postponement PHP Russia 2022 to November (#611)

746d3d7104-Jul-2022 Ayesh Karunaratne

HTML A11y improvements in add-note.php, my.php and vote-note.php

Also use strict comparison in pages that are changed.

Closes GH-610.

d40890db03-Jul-2022 Ayesh Karunaratne

Micro Optimizations - Round #2

* .gitignore: Remove redundant entry

* Minor optimizations with ternary operators

* Use `const` instead of `define()` where appropriate

Micro Optimizations - Round #2

* .gitignore: Remove redundant entry

* Minor optimizations with ternary operators

* Use `const` instead of `define()` where appropriate

`const` is quite faster because of the compile-time optimizations. Because the replaced statements are not declaring constant conditionally, it's safe to use `const` in all of these places.

Closes GH-608.

show more ...

1b83fd7a03-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 ...

38d4e07202-Jul-2022 Ayesh Karunaratne

`phpversion()` replacements and code branch collapsing for older PHP versions

Closes GH-600.

c3f9653202-Jul-2022 Andreas Möller

Remove useless function manual_header()

Closes GH-584.

1...<<21222324252627282930>>...494