Closed (fixed)
Project:
CKEditor mentions
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2026 at 09:13 UTC
Updated:
6 May 2026 at 06:20 UTC
Jump to comment: Most recent
Fix code style (phpcs. phpstan, styleint, cspell, eslint, ...)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
yusuf_khan commentedim working on this issue
Comment #5
anybody@yusuf_khan thanks, will you do it immediately? We'd like to get the issues finished in the next hours. If not, please unassing, thanks!
Comment #6
lrwebks commentedComment #7
lrwebks commentedWe have a bit of a problem here. The plugin
MentionsUpgradeis a plugin for the classCKEditor4To5UpgradePluginInterfaceof theckeditor5module which doesn't exist anymore. That is why multiple tools including PHPCS and PHP Stan complain about it. What can we do about this? Is removing that file technically a breaking change in this case? I mean, with the current version ofckeditor5it wouldn't work either way.Comment #8
grevil commentedLet's clean this up in 4.x
Comment #9
anybodyLet's solve this in 4.x
Comment #10
anybodyWon't be solvable in 3.x which is ^10.3 and ^11 compatible but ^11 misses the classes. See https://www.drupal.org/project/drupal/issues/3239012
Comment #11
grevil commentedComment #12
anybodyComment #13
anybodyComment #14
anybodyOkay still a lot of things to resolve here!
Comment #15
lrwebks commentedComment #16
lrwebks commentedI've adjusted what I could, a few threads are ready to resolve, but I cannot do that as I am not a module maintainer. A few issues are left open like the deprecation issue and the ESLint problem, but I probably can't be of much help there.
Comment #17
lrwebks commentedComment #18
anybody@lrwebks: Please fix these.
See https://www.drupal.org/node/3568136 for the replacement regarding your comment. You might have found that.
Comment #19
lrwebks commentedCan't fix the deprecation issue by using the new function from https://www.drupal.org/node/3568136, as it does not yet exist in the current version. If we use this for the next minor version right now, we break the current version which is even worse.
Comment #20
lrwebks commentedOkay, so I will turn the deprecation issue into a follow-up.
Comment #21
anybody@lrwebks: phpunit still needs to be fixed
I tried
.eslintignore, let's see.Otherwise, we could give https://eslint.org/docs/latest/use/configure/ignore
a try for
/js/buildThere's even a perfect example?
https://eslint.org/docs/latest/use/configure/ignore#name-the-global-igno...
Comment #22
anybodyFunny! The broken test was a regression caused by typo correction xD
Maybe not the best idea ...
Comment #23
anybodyComment #25
anybody