Module have some PHPCS issues.

Created on 15 March 2024, 8 months ago
Updated 6 July 2024, 4 months ago

Referred source
when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
in the module

I found this
FILE: ...eight_tariff\src\Plugin\Commerce\Condition\ShipmentWeightMultipleConds.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
26 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------------

FILE: ...ping_weight_tariff\src\Plugin\Commerce\ShippingMethod\ShippingByWeight.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
26 | ERROR | Missing member variable doc comment
41 | ERROR | Doc comment for parameter $workflow_manager does not match actual
| | variable name

I created Patch to resolve this issue.

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024