for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* integer_net Magento Module
*
* @category IntegerNet
* @package IntegerNet_Anonymizer
* @copyright Copyright (c) 2016 integer_net GmbH (http://www.integer-net.de/)
* @author Fabian Schmengler <[email protected]>
*/
class IntegerNet_Anonymizer_Helper_Data extends Mage_Core_Helper_Abstract
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.
{
const ALIAS = 'integernet_anonymizer';
const CONFIG_EXCLUDED_EMAIL_DOMAINS = 'dev/integernet_anonymizer/excluded_email_domains';
public function excludedEmailDomains()
return new \IntegerNet\Anonymizer\Config\ExcludedEmailDomains(
array_map(
'trim',
explode(',', Mage::getStoreConfig(self::CONFIG_EXCLUDED_EMAIL_DOMAINS)) ?: []
)
);
}
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.