for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class EcommerceSecurityEmail extends EcommerceSecurityBaseClass
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
/**
* standard SS variable
* @Var String
*/
private static $singular_name = "Blacklisted Email";
$singular_name
This check marks private properties in classes that are never used. Those properties can be removed.
private static $plural_name = "Blacklisted Emails";
$plural_name
private static $field_labels = array(
$field_labels
'Title' => 'Email'
);
}
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.