- Issue created by @spokje
- @spokje opened merge request.
- Status changed to Needs work
over 1 year ago 2:41pm 7 April 2023 - First commit to issue fork.
- Status changed to Needs review
over 1 year ago 2:22pm 14 April 2023 - Status changed to Needs work
over 1 year ago 3:42pm 14 April 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Left a comment in the MR. Can you help me understand @Spokje?
- Status changed to Needs review
over 1 year ago 2:44pm 15 April 2023 - ๐ณ๐ฑNetherlands spokje
@mondrake: Tried a (weak) explanation in the MR thread.
- ๐ณ๐ฑNetherlands spokje
@mondrake Makes sense, will change it shortly.
If it turns out to be too much we can always revert to the "minimal" working cas at https://git.drupalcode.org/project/drupal/-/merge_requests/3794/diffs?co...
- Assigned to spokje
- Status changed to Needs work
over 1 year ago 6:07pm 15 April 2023 - last update
over 1 year ago 29,202 pass - ๐ณ๐ฑNetherlands spokje
BTW: is the issue title still accurate?
You're right, we can be more specific here.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,069 pass, 42 fail - last update
over 1 year ago 29,109 pass, 26 fail - last update
over 1 year ago 29,198 pass, 2 fail - last update
over 1 year ago 29,202 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:37pm 16 April 2023 - Status changed to RTBC
over 1 year ago 5:45pm 16 April 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
To me, this is the cleanest way to fix this messโฆ
- Status changed to Needs work
over 1 year ago 9:43pm 16 April 2023 - ๐ฌ๐งUnited Kingdom longwave UK
Adding an argument to the interface is not backward compatible with any existing implementations, and there are a handful in contrib at least:
http://grep.xnddx.ru/search?text=getSortedDefinitions&filename=
- ๐ฎ๐นItaly mondrake ๐ฎ๐น
I have opened ๐ฑ Document how to add additional parameters to interface methods Fixed to discuss how to manage cases where interfaces are wrong and we cannot change them
- ๐ณ๐ฑNetherlands spokje
And another PHPStan issue grinds to a halt, postponing on ๐ฑ Document how to add additional parameters to interface methods Fixed
- last update
over 1 year ago 29,283 pass - Status changed to Postponed
over 1 year ago 3:39pm 18 April 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Looking for ๐ Replace func_get_args with variable-length argument in FormBuilder Needs review to go in, that sets a reference for prepping the addition of arguments to interface methods, and this could follow.
- last update
over 1 year ago 29,283 pass - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Typehinting of return type follows the covariance rules https://www.php.net/manual/en/language.oop5.variance.php, so adding one to the interface means BC break because implementing classes must at least implement the same return type.
- Status changed to Needs work
about 1 year ago 10:21am 24 August 2023 - ๐ณ๐ฑNetherlands bbrala Netherlands
How to change signatures in interfaces has been documented: ๐ฑ Document how to add additional parameters to interface methods Fixed