Resolve the errors and warning of PHP Coding Standards

Created on 23 June 2023, almost 2 years ago
Updated 15 July 2024, 9 months ago

Problem/Motivation

11 | ERROR | [x] Missing class doc comment
46 | ERROR | [ ] Missing short description in doc comment
47 | ERROR | [ ] Description for the @return value is missing
-----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/drupal9_test/code/modules/contrib/s3fs_file_proxy_to_s3/src/S3fsFileProxyToS3ServiceProvider.php
--------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------
10 | WARNING | [x] Unused use statement
20 | ERROR | [x] Data types in @param tags need to be fully namespaced

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

🇮🇳India yashmalviya

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

Comments & Activities

  • Issue created by @yashmalviya
  • Issue was unassigned.
  • Status changed to Needs review almost 2 years ago
  • 🇮🇳India yashmalviya

    I have resolved the PHP Coding Standards Errors and Warnings. Please review

  • Status changed to Needs work 9 months ago
  • 🇮🇳India riddhi.addweb

    I applied the #2 and it has been applied cleanly, but the error is still unresolved after applying the patch. Attaching the SS for the same.

Production build 0.71.5 2024