for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Get examples for building templates.
*
* @authors: Nicolaas [at] Sunny Side Up .co.nz
* @package: ecommerce
* @sub-package: tasks
* @inspiration: Silverstripe Ltd, Jeremy
**/
class EcommerceTaskTemplateTest extends BuildTask
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.
{
protected $title = 'Get help with building templates';
protected $description = 'Shows you some of the variables and controls you can use in your templates.';
public function run($request)
DB::alteration_message('<br /><br /><br /><br /><br /><br /><a href="/ecommercetemplatetest/?flush=all" target="_debug">click here to view template test page</a>.<br /><br /><br /><br /><br /><br />');
}
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.