[PHP-WEBMASTER] [web-php] PR #873: Enhancement: Add `match` and `parameters` to `element` option of `trailing_comma_in_multiline` fixer

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/873 Author: localheinz This pull request - [x] add `match` and `parameters` to `element` option of `trailing_comma_in_multiline` fixer - [ ] runs `make coding-standards` Follows #559. Follows #647. 💁‍♂️ For reference, see https://github.com/Fr

[PHP-WEBMASTER] [web-php] master: Enhancement: Enable `trailing_comma_in_multiline` fixer (#647)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: Girgias Date: 2023-12-06T23:16:28Z Commit: https://github.com/php/web-php/commit/c093fb5382affbb91f822c3b47bc471ebfc43c50 Raw diff: https://github.com/php/web-php/commit/c093fb5382affbb91f822c3b47bc471ebfc43c50.diff Enhanc

[PHP-WEBMASTER] [web-php] PR #872: Enhancement: Extract `Version`

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/872 Author: localheinz This pull request - [x] extracts `Version` as a value object Related to #871. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WEBMASTER] [web-php] master: Fix: Remove assignment from condition (#870)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: Girgias Date: 2023-12-06T18:57:11Z Commit: https://github.com/php/web-php/commit/4ac417b3cb0b42ada04594427614bf9a2a104a01 Raw diff: https://github.com/php/web-php/commit/4ac417b3cb0b42ada04594427614bf9a2a104a01.diff Fix: R

[PHP-WEBMASTER] [web-php] PR #870: Fix: Remove assignment from condition

2023-12-06 Thread Girgias
Pull Request: https://github.com/php/web-php/pull/870 Closed by Girgias. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WEBMASTER] [web-php] master: Enhancement: Expose happy path (#406)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: Girgias Date: 2023-12-06T18:31:09Z Commit: https://github.com/php/web-php/commit/ede0692b3ef68003b09054956f3c282dc8a6b3f3 Raw diff: https://github.com/php/web-php/commit/ede0692b3ef68003b09054956f3c282dc8a6b3f3.diff Enhanc

[PHP-WEBMASTER] [web-php] PR #871: Enhancement: Extract `Branch`

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/871 Author: localheinz This pull request - [ ] extracts `Branch` as a value object -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WEBMASTER] [web-php] PR #869: Fix: Do not pass `null` to function that expects `DateTime` or `string`

2023-12-06 Thread kamil-tekiela
Pull Request: https://github.com/php/web-php/pull/869 Closed by kamil-tekiela. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WEBMASTER] [web-php] master: Fix: Do not pass null to function that expects DateTime or string (#869)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T17:47:00+01:00 Commit: https://github.com/php/web-php/commit/2b708363b55739b32ae59c62a7ad2fb1b462 Raw diff: https://github.com/php/web-php/commit/2b708363b55739b32ae59c62a7ad2fb1b462.d

[PHP-WEBMASTER] [web-php] PR #870: Fix: Remove assignment from condition

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/870 Author: localheinz This pull request - [x] removes assignments from conditions -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WEBMASTER] [web-php] PR #869: Fix: Do not pass `null` to function that expects `DateTime` or `string`

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/869 Author: localheinz This pull request - [x] stops passing `null` to a function that expects `DateTime` or `string` ### Before See http://localhost:8080/supported-versions.php: https://github.com/php/web-php/assets/605483/679b0ad4-7ca2-451e-9

[PHP-WEBMASTER] [web-php] master: Fix: Typo (#868)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T16:55:35+01:00 Commit: https://github.com/php/web-php/commit/019de1fee62cdbcae16167945f1117f257dd971c Raw diff: https://github.com/php/web-php/commit/019de1fee62cdbcae16167945f1117f257dd971c.d

[PHP-WEBMASTER] [web-php] PR #866: Fix: Add parameter type declarations

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/866 Author: localheinz This pull request - [x] adds parameter type declarations Follows #857. 💁‍♂️ Running ```shell git grep -i site_header ``` on current `master` yields ```console archive/1998.php:5:site_header("News Archive - 1998", ["cach

[PHP-WEBMASTER] [web-php] master: Enhancement: Enable `no_mixed_echo_print` fixer (#864)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T15:19:57+01:00 Commit: https://github.com/php/web-php/commit/a528e6e91b556a7ba348747e338feee04af5484c Raw diff: https://github.com/php/web-php/commit/a528e6e91b556a7ba348747e338feee04af5484c.d

[PHP-WEBMASTER] [web-php] PR #864: Enhancement: Enable `no_mixed_echo_print` fixer

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/864 Author: localheinz This pull request - [x] enables the `no_mixed_echo_print` fixer - [ ] runs `make coding-standards` Follows #559. 💁‍♂️ For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.40.2/doc/rules/alias/no_mixed_e

[PHP-WEBMASTER] [web-php] master: Enhancement: Enable `class_definition` fixer (#863)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T15:11:49+01:00 Commit: https://github.com/php/web-php/commit/9709f819a42fe2420ee243855c5f622ee87c6d39 Raw diff: https://github.com/php/web-php/commit/9709f819a42fe2420ee243855c5f622ee87c6d39.d

[PHP-WEBMASTER] [web-php] master: Enhancement: Enable `function_declaration` fixer (#862)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T15:10:28+01:00 Commit: https://github.com/php/web-php/commit/08a7beea92b0085648752d13750f9ce1868c035b Raw diff: https://github.com/php/web-php/commit/08a7beea92b0085648752d13750f9ce1868c035b.d

[PHP-WEBMASTER] [web-php] PR #863: Enhancement: Enable `class_definition` fixer

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/863 Author: localheinz This pull request - [x] enables the `class_definition` fixer - [ ] runs `make coding-standards` Follows #559. 💁‍♂️ For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.40.2/doc/rules/class_notation/clas

[PHP-WEBMASTER] [web-php] PR #862: Enhancement: Enable `function_declaration` fixer

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/862 Author: localheinz This pull request - [x] enables the `function_declaration` fixer - [ ] runs `make coding-standards` Follows #559. 💁‍♂️ For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.40.2/doc/rules/function_notati

[PHP-WEBMASTER] [web-php] master: Enhancement: Mark class as readonly (#861)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T14:59:15+01:00 Commit: https://github.com/php/web-php/commit/d36359230f959723250a64dae27521a6731fcf5b Raw diff: https://github.com/php/web-php/commit/d36359230f959723250a64dae27521a6731fcf5b.d

[PHP-WEBMASTER] [web-php] PR #860: Fix: Wrapping

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/860 Author: localheinz This pull request - [x] wraps the argument to `site_footer()` instead of the list of arguments Somewhat related to #857. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP-WEBMASTER] [web-php] master: Fix: Inline variables (#856)

2023-12-06 Thread Andreas Möller via GitHub
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T14:42:03+01:00 Commit: https://github.com/php/web-php/commit/d713252582ba0e140f40e530e828898da2af953d Raw diff: https://github.com/php/web-php/commit/d713252582ba0e140f40e530e828898da2af953d.d

[PHP-WEBMASTER] [web-php] PR #859: Enhancement: Enable `elseif` fixer

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/859 Author: localheinz This pull request - [x] enables the `elseif` fixer - [ ] runs `make coding-standards` Follows #559. 💁‍♂️ For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.40.2/doc/rules/control_structure/elseif.rst.

[PHP-WEBMASTER] [web-php] PR #855: Fix: Remove useless function

2023-12-06 Thread localheinz
Pull Request: https://github.com/php/web-php/pull/855 Author: localheinz This pull request - [x] removes a useless function 💁‍♂️ Running ```shell git grep -i language_redirect ``` on current `master` yields ```console releases/8.2/common.php:7:function language_redirect(string $currentLang):