Automatically closed - issue fixed for 2 weeks with no activity.
phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/onlyoffice/
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\src\Controller\OnlyofficeCallbackController.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
---------------------------------------------------------------------------------------------------------------
150 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
167 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
204 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
206 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
237 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
261 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
277 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\src\Controller\OnlyofficeDownloadController.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------
87 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
98 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
116 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\src\Controller\OnlyofficeEditorController.php
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-------------------------------------------------------------------------------------------------------------
121 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
131 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
135 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
143 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
148 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-------------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\contribute\web\modules\contrib\onlyoffice\src\Plugin\Field\FieldFormatter\OnlyofficePreviewFormatter.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------
177 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
178 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
------------------------------------------------------------------------------------------------------------------------------
Time: 426ms; Memory: 8MB
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.