for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class Qrz_OneDayAdmin_Model_SystemConfig
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 ONE_DAY_ADMIN_ROLES_CONFIG_PATH = 'qrz_onedayadmin/general/one_day_admin_roles';
/**
* @return array
* @author Cristian Quiroz <[email protected]>
*/
public function getOneDayAdminRoles()
$oneDayAdminRoles = Mage::getStoreConfig(self::ONE_DAY_ADMIN_ROLES_CONFIG_PATH);
$oneDayAdminRoles = explode(',', $oneDayAdminRoles);
return $oneDayAdminRoles;
}
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.