Automattic / woocommerce-subscriptions-core

Subscriptions core package for WooCommerce
Other
87 stars 33 forks source link

Fix PHP Lint issues currently causing automated checks to fail #458

Closed prettyboymp closed 1 year ago

prettyboymp commented 1 year ago

Description

Automated checks in this repo are failing because of existing lint issues. This fixes those two issues by adding a phpcs:ignore for the specific problems. In both cases, this is the correct fix.

maybe_redirect_after_login() already has a nonce check during the log-in process.

validate_recurring_shipping_methods() is comparing arrays which may not have the same key order.