Phpcs drupal coding standard issue

Created on 19 July 2022, over 2 years ago
Updated 15 November 2023, about 1 year ago

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\multilangng_translations.module
------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\README.md
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 12 WARNINGS AFFECTING 12 LINES
--------------------------------------------------------------------------------------------------
4 | WARNING | [ ] Line exceeds 80 characters; contains 148 characters
5 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
8 | WARNING | [ ] Line exceeds 80 characters; contains 130 characters
10 | WARNING | [ ] Line exceeds 80 characters; contains 239 characters
19 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
21 | WARNING | [ ] Line exceeds 80 characters; contains 119 characters
25 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
28 | WARNING | [ ] Line exceeds 80 characters; contains 190 characters
29 | WARNING | [ ] Line exceeds 80 characters; contains 126 characters
30 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
34 | WARNING | [ ] Line exceeds 80 characters; contains 121 characters
36 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
36 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\src\ConfigOverride\ConfigTranslationsOverrideProvider.php
--------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
35 | ERROR | [x] Missing function doc comment
41 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
41 | ERROR | [x] Doc comment short description must end with a full stop
57 | ERROR | [x] Doc comment short description must end with a full stop
89 | WARNING | [ ] Only string literals should be passed to t() where possible
94 | ERROR | [x] Expected 1 blank line after function; 2 found
98 | ERROR | [x] Doc comment short description must end with a full stop
--------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\src\ConfigOverride\MultiLangNGTranslationsConfigOverride.php
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
19 | ERROR | [ ] Missing member variable doc comment
21 | ERROR | [ ] Missing member variable doc comment
23 | ERROR | [ ] Missing member variable doc comment
57 | ERROR | [x] Missing function doc comment
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\src\LocaleConfigManager\MultiLangNGLocaleConfigManager.php
---------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
---------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\src\LocaleConfigManager\MultiLangNGLocaleConfigManagerTrait.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | ERROR | [x] Missing trait doc comment
7 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\multilangng\multilangng_translations\src\MultilangngTranslationsServiceProvider.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
10 | ERROR | [x] Missing class doc comment
12 | ERROR | [x] Missing function doc comment
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India Harsh panchal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024