Bangalore
Account created on 13 October 2016, over 8 years ago
#

Merge Requests

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

@mfb One more question, for existing paths which has an extra leading or trailing spaces already, this will return FALSE and consider as an invalid url. What would be the impact? Will it break some feature in existing sites?

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

One quick question, cant we sanitize the $path variable to remove space instead of handling it with the BadRequestException?

For example, $path = trim($path); resolves the first issue I guess.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

praveenpb โ†’ changed the visibility of the branch 1.x to active.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

@pfrenssen, The problem of using auto-generated patch is that it changes whenever someone pushed something to the MR, and it will be applied to our project when we run composer install/update without our knowledge. If someone pushes a buggy code it is not safe to use it, but if you create a patch manually, it will not change that patch.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

@Webbeh, I thought to update the patch file name so uploaded a second one but I already removed the first one from display.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

Just created a patch from the MR.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

The MR4 fixed this issue. Thanks.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

Codesniffer fixes.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

1. Re-rolled against 3.1.x-dev.
2. Merged #3 and #4 to a single patch.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

praveenpb โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

praveenpb โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

When I run it with --standard="core/phpcs.xml.dist", it doesn't throw any errors.
So my questions are,

1. Which one is the recommended standard to follow with custom code?
2. Is it fine if we follow what core follows? Otherwise we may face such issues if we implement non-compliant interface methods provided by core right?

Thanks

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

Hi cilefen, Thanks for your quick response.

Please find the details below. It seems "Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps" triggering here.

FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 | ERROR | Public method name "CustomCkeditor5::mapCKEditor4ToolbarButtonToCKEditor5ToolbarItem" is not in lowerCamel format
| | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)Files.TxtFileLineLength.TooLong)
90 | ERROR | Public method name "CustomCkeditor5::mapCKEditor4SettingsToCKEditor5Configuration" is not in lowerCamel format
| | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)Files.TxtFileLineLength.TooLong)
97 | ERROR | Public method name "CustomCkeditor5::computeCKEditor5PluginSubsetConfiguration" is not in lowerCamel format
| | (Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps)

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

It seems this has been fixed in 9.5.4+ and 10.0.4+ versions. Can we close this issue?

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

praveenpb โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

@prudloff, Thanks for updating the patch.
I thought to add support for footnotes which doesn't have value attribute(added in ckeditor4) so added Footnotes and FootnotesValue. But you might be right we can get rid of one of them.

Updated the MR and the patch accordingly.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

Created a patch and MR for the ckeditor5 compatibility.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

Created a patch and MR for the ckeditor5 compatibility.

๐Ÿ‡ฎ๐Ÿ‡ณIndia praveenpb Bangalore

praveenpb โ†’ made their first commit to this issueโ€™s fork.

Production build 0.71.5 2024