for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class Ecommerce_Dummy_Mailer extends mailer
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.
{
/**
* FAKE Send a plain-text email.
*
* @return bool
*/
public function sendPlain($to, $from, $subject, $plainContent, $attachedFiles = false, $customheaders = false)
return true;
}
* FAKE Send a multi-part HTML email.
public function sendHTML($to, $from, $subject, $htmlContent, $attachedFiles = false, $customheaders = false, $plainContent = false)
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.