Fix Coding Standards

Created on 18 July 2022, almost 3 years ago
Updated 7 February 2024, about 1 year ago

Problem/Motivation

See title. The following files need fixing:

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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.

  • 🇨🇦Canada joelpittet Vancouver

    The curly braces around the params looks incorrect, no? * {@param $permission}

  • Assigned to nitin_lama
  • 🇮🇳India nitin_lama India

    Removed braces. Please add description for the return statements.
    Remaining issues:

    FILE: /home/system/Documents/contribution/user_permission_condition-3296510/src/Plugin/Condition/PermissionCondition.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 5 ERRORS AFFECTING 4 LINES
    ------------------------------------------------------------------------------------------------------------------------
     137 | ERROR | Description for the @return value is missing
     153 | ERROR | Description for the @return value is missing
     173 | ERROR | Missing parameter comment
     173 | ERROR | Missing parameter type
     175 | ERROR | Description for the @return value is missing
    ------------------------------------------------------------------------------------------------------------------------
    
    Time: 43ms; Memory: 8MB
    
  • Issue was unassigned.
Production build 0.71.5 2024