Skip to content

Plugin: Fix WooCommerce hook comment phpcs reports #8554

Open
@reykjalin

Description

Part of #8437.

Description

Remove all the WooCommerce.Commenting excludes from phpcs.xml.dist and fix the issues reported when running npm run lint:php in the following files:

  • src/Internal/Proxy/HooksProxy.php
  • tests/unit/src/Internal/Proxy/HooksProxyTest.php
  • tests/unit/helpers/class-wc-helper-product.php
  • includes/core/class-mode.php
  • src/Internal/Payment/Router.php
  • tests/unit/core/server/request/test-class-get-request.php
  • includes/class-wc-payments-dependency-service.php
  • tests/unit/core/server/request/test-class-core-request.php
  • includes/class-wc-payments-features.php
  • includes/class-database-cache.php
  • includes/core/server/class-request.php
  • includes/wc-payment-api/class-wc-payments-api-client.php
  • includes/class-wc-payments-webhook-processing-service.php
  • tests/unit/test-class-wc-payments.php
  • includes/class-wc-payments.php

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus: architectureProduct architecture and engineering best practicespriority: lowThe issue/PR is low priority—not many people are affected or there’s a workaround, etc.type: documentationThis issue is a request for better documentation.type: technical debtThis issue/PR represents/solves the technical debt of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions