Fix coding standards

Created on 14 December 2019, almost 5 years ago
Updated 24 July 2024, 4 months ago

I noticed that the following error is produced when checking for coding standard violations:

phpcs --standard=Drupal .

FILE: /var/www/html/drupal2/modules/custom/social_auth_paypal/src/Plugin/Network/PaypalAuth.php
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
 37 | ERROR | [x] Data types in @throws tags need to be fully namespaced
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------

Time: 155ms; Memory: 8MB
๐Ÿ“Œ Task
Status

RTBC

Version

2.0

Component

Code

Created by

๐Ÿ‡ฒ๐Ÿ‡บMauritius neel24

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

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