There is already a MessengerTrait in QueryPluginBase and TestMessenger can be injected from ViewsXmlBackendTestBase.
The changes should look more like this:
Thanks for your offer to help out. Appreciated.
@joelseguin @protitude the patch #14 is recommended and proposed, it does not change the calling parameters.
Just a heads up: it can still be reproduced with 3.x.
Going from 1.2 to 3.x one of the file names should be
spamspan/src/TwigExtension/SpamspanExtension.php
(1.3 and later)
but this file name might be stuck (depending on file system and used tools)
spamspan/src/TwigExtension/SpamSpanExtension.php
(1.2)
Still see #9 for a solution if this affects you. There is nothing to fix/change in the project though.
Confirmed this fix works with D9.5.8
@wheelercreek the patch is the drupalcode link above, or as plain diff it's
https://git.drupalcode.org/issue/permissions_by_term-3354478/-/commit/4d...
E.g. in composer.json under extras patches insert:
"drupal/permissions_by_term": {
"Fix Twig regression patch": "https://git.drupalcode.org/issue/permissions_by_term-3354478/-/commit/4daf422f379585da550a05d23d4c77aa8dc328ca.diff"
}
@crutch my patch (#14) is based on 3.1.21. If all else (composer?) fails just change that one line by hand (insert = 0
two times).
https://git.drupalcode.org/issue/permissions_by_term-3231556/-/commit/42...
As Chris--S said it's better to just add the defaults to the args after langcode.
I've created a branch with just that fix which should be uncontroversial to apply.
In the meantime apply a patch from https://git.drupalcode.org/issue/permissions_by_term-3231556/-/commit/42...
E.g. in composer.json under extras patches insert:
"drupal/permissions_by_term": {
"Fix optional parameters patch": "https://git.drupalcode.org/issue/permissions_by_term-3231556/-/commit/421de6c96e79e25225a04aa2ab4043245b61fc01.diff"
}
zany β made their first commit to this issueβs fork.