Passed
Push — master ( b7948f...0e5cc9 )
by Simon
01:28
created

tests/mocks/AnalyticsResponseHomePageMock.php (1 issue)

1
<?php
2
3 View Code Duplication
class AnalyticsResponseHomePageMock extends Google_Service_AnalyticsReporting_ReportRow
1 ignored issue
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...
4
{
5
    public $response;
6
7
    public function getDimensions()
8
    {
9
        return [0 => '/'];
10
    }
11
12
    public function getMetrics()
13
    {
14
        $return = new Google_Service_AnalyticsReporting_DateRangeValues();
15
        $return->setValues([0 => 45477]);
16
        return [$return];
17
    }
18
}
19