Completed
Push — master ( 3b65eb...dc665d )
by Nicolaas
11:00 queued 02:51
created

EcommerceTaskTemplateTest::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * Get examples for building templates.
5
 *
6
 * @authors: Nicolaas [at] Sunny Side Up .co.nz
7
 * @package: ecommerce
8
 * @sub-package: tasks
9
 * @inspiration: Silverstripe Ltd, Jeremy
10
 **/
11
class EcommerceTaskTemplateTest extends BuildTask
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

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.

Loading history...
12
{
13
    protected $title = 'Get help with building templates';
14
15
    protected $description = 'Shows you some of the variables and controls you can use in your templates.';
16
17
    public function run($request)
18
    {
19
        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 />');
20
    }
21
}
22