Issues (5)

src/Rollbar.php (5 issues)

Severity
1
<?php
2
3
namespace AntonyThorpe\Rollbar;
4
5
use SilverStripe\Core\Config\Configurable;
6
7
/**
8
 * Rollbar
9
 */
10
class Rollbar
11
{
12
    use Configurable;
13
14
    /**
15
     * Access Token created at rollbar.com
16
     * @config
17
     */
18
    private static string $client_token = '';
0 ignored issues
show
The private property $client_token is not used, and could be removed.
Loading history...
19
20
    /**
21
     * Operate/pause communications with Rollbar
22
     * @config
23
     */
24
    private static bool $show = true;
0 ignored issues
show
The private property $show is not used, and could be removed.
Loading history...
25
26
    /**
27
     * When in the dev environment, show Rollbar in the template
28
     * @config
29
     */
30
    private static bool $show_on_dev = false;
0 ignored issues
show
The private property $show_on_dev is not used, and could be removed.
Loading history...
31
32
    /**
33
     * When in the test environment, show Rollbar in the template
34
     * @config
35
     */
36
    private static bool $show_on_test = false;
0 ignored issues
show
The private property $show_on_test is not used, and could be removed.
Loading history...
37
38
    /**
39
     * When in the live environment, show Rollbar in the template
40
     * @config
41
     */
42
    private static bool $show_on_live = true;
0 ignored issues
show
The private property $show_on_live is not used, and could be removed.
Loading history...
43
}
44