chore: bump min php to 8.2
Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
errorBaseline="tests/psalm-baseline.xml"
|
errorBaseline="tests/psalm-baseline.xml"
|
||||||
findUnusedBaselineEntry="true"
|
findUnusedBaselineEntry="true"
|
||||||
findUnusedCode="false"
|
findUnusedCode="false"
|
||||||
phpVersion="8.1"
|
phpVersion="8.2"
|
||||||
>
|
>
|
||||||
<stubs>
|
<stubs>
|
||||||
<file name="tests/stub.phpstub" preloadClasses="true"/>
|
<file name="tests/stub.phpstub" preloadClasses="true"/>
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export default {
|
|||||||
if (mention.attributes['data-at-embedded'].value === 'true') {
|
if (mention.attributes['data-at-embedded'].value === 'true') {
|
||||||
mentionValue = mention.parentNode.parentNode.querySelector('.user-bubble__wrapper').attributes['data-mention-id'].value
|
mentionValue = mention.parentNode.parentNode.querySelector('.user-bubble__wrapper').attributes['data-mention-id'].value
|
||||||
} else {
|
} else {
|
||||||
mentionValue = mention.firstElementChild.attributes['data-mention-id'].value
|
mentionValue = mention.firstChild.attributes['data-mention-id'].value
|
||||||
}
|
}
|
||||||
if (mentionValue.indexOf(' ') !== -1) {
|
if (mentionValue.indexOf(' ') !== -1) {
|
||||||
mention.replaceWith(' @"' + mentionValue + '" ')
|
mention.replaceWith(' @"' + mentionValue + '" ')
|
||||||
|
|||||||
Reference in New Issue
Block a user