Fix Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
[MAILPOET-4850]
This commit is contained in:
committed by
John Oleksowicz
parent
2cdbc68643
commit
b6a37f274c
@@ -7,6 +7,8 @@ Version: 0.1
|
|||||||
|
|
||||||
add_action('phpmailer_init', 'mailpoet_test_phpmailer_use_smtp');
|
add_action('phpmailer_init', 'mailpoet_test_phpmailer_use_smtp');
|
||||||
|
|
||||||
|
//phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||||
|
|
||||||
function mailpoet_test_phpmailer_use_smtp($phpmailer) {
|
function mailpoet_test_phpmailer_use_smtp($phpmailer) {
|
||||||
global $wp_version;
|
global $wp_version;
|
||||||
|
|
||||||
|
@@ -16,6 +16,8 @@ use MailPoet\Test\DataFactories\Subscriber as SubscriberFactory;
|
|||||||
use MailPoet\Util\pQuery\pQuery;
|
use MailPoet\Util\pQuery\pQuery;
|
||||||
use MailPoet\WP\Functions as WPFunctions;
|
use MailPoet\WP\Functions as WPFunctions;
|
||||||
|
|
||||||
|
//phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||||
|
|
||||||
class ShortcodesTest extends \MailPoetTest {
|
class ShortcodesTest extends \MailPoetTest {
|
||||||
/** @var SendingQueueEntity */
|
/** @var SendingQueueEntity */
|
||||||
public $queue;
|
public $queue;
|
||||||
|
@@ -9,6 +9,8 @@ use MailPoet\Mailer\Methods\ErrorMappers\SMTPMapper;
|
|||||||
use MailPoet\Mailer\Methods\SMTP;
|
use MailPoet\Mailer\Methods\SMTP;
|
||||||
use MailPoet\WP\Functions as WPFunctions;
|
use MailPoet\WP\Functions as WPFunctions;
|
||||||
|
|
||||||
|
//phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||||
|
|
||||||
class SMTPTest extends \MailPoetTest {
|
class SMTPTest extends \MailPoetTest {
|
||||||
public $extraParams;
|
public $extraParams;
|
||||||
public $newsletter;
|
public $newsletter;
|
||||||
|
@@ -10,6 +10,8 @@ use MailPoet\REST\Automation\AutomationTest;
|
|||||||
|
|
||||||
require_once __DIR__ . '/../AutomationTest.php';
|
require_once __DIR__ . '/../AutomationTest.php';
|
||||||
|
|
||||||
|
//phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
|
||||||
|
|
||||||
class AutomationsDuplicateEndpointTest extends AutomationTest {
|
class AutomationsDuplicateEndpointTest extends AutomationTest {
|
||||||
private const ENDPOINT_PATH = '/mailpoet/v1/automations/%d/duplicate';
|
private const ENDPOINT_PATH = '/mailpoet/v1/automations/%d/duplicate';
|
||||||
|
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
namespace MailPoet\Test\Segments;
|
namespace MailPoet\Test\Segments;
|
||||||
|
|
||||||
|
//phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps, PSR1.Methods.CamelCapsMethodName.NotCamelCaps
|
||||||
|
|
||||||
class WPTestUser extends \WP_User {
|
class WPTestUser extends \WP_User {
|
||||||
/** @var int */
|
/** @var int */
|
||||||
public $orderId;
|
public $orderId;
|
||||||
|
Reference in New Issue
Block a user