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

code/tasks/EcommerceTaskReviewReports.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * @authors: Nicolaas [at] Sunny Side Up .co.nz
5
 * @package: ecommerce
6
 * @sub-package: tasks
7
 **/
8
class EcommerceTaskReviewReports 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...
9
{
10
    /**
11
     * Standard (required) SS variable for BuildTasks.
12
     *
13
     * @var string
14
     */
15
    protected $title = 'Review E-commerce Pages using the Reports interface';
16
17
    /**
18
     * Standard (required) SS variable for BuildTasks.
19
     *
20
     * @var string
21
     */
22
    protected $description = '
23
		Review a bunch of reports that provide information on the e-commerce pages created, such as the Products without Images.';
24
25
    public function run($request)
26
    {
27
        DB::alteration_message('<h1><a href="/admin/reports/" target="_blank">Open Reports Interface</a></h1>');
28
    }
29
}
30