for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Arrilot\SystemCheck\Checks\Laravel\Production;
use Arrilot\SystemCheck\CheckResult;
use Arrilot\SystemCheck\Checks\Check;
class MailPretend extends Check
{
/**
* The check description.
*
* @var string
*/
protected $description = 'mail.pretend';
* Perform the check.
* @return CheckResult
public function perform()
if ($this->app['config']['mail.pretend']) {
return $this->fail("'mail.pretend' must not be set to 'true' in production");
}
return $this->ok();