Test Setup Failed
Push — irc-comment-visibility-fix ( 574aa6...7e72b9 )
by Michael
24:36 queued 18:01
created

includes/Tasks/ITask.php (1 issue)

Labels
Severity
1
<?php
2
/******************************************************************************
3
 * Wikipedia Account Creation Assistance tool                                 *
4
 *                                                                            *
5
 * All code in this file is released into the public domain by the ACC        *
6
 * Development Team. Please see team.json for a list of contributors.         *
7
 ******************************************************************************/
8
9
namespace Waca\Tasks;
10
11
use Waca\Helpers\HttpHelper;
12
use Waca\Helpers\Interfaces\IEmailHelper;
13
use Waca\Helpers\Interfaces\IOAuthProtocolHelper;
14
use Waca\Helpers\IrcNotificationHelper;
0 ignored issues
show
The type Waca\Helpers\IrcNotificationHelper was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use Waca\PdoDatabase;
16
use Waca\Providers\Interfaces\IAntiSpoofProvider;
17
use Waca\Providers\Interfaces\ILocationProvider;
18
use Waca\Providers\Interfaces\IRDnsProvider;
19
use Waca\Providers\Interfaces\IXffTrustProvider;
20
use Waca\Providers\TorExitProvider;
21
use Waca\SiteConfiguration;
22
23
interface ITask
24
{
25
    /**
26
     * @return IEmailHelper
27
     */
28
    public function getEmailHelper();
29
30
    /**
31
     * @param IEmailHelper $emailHelper
32
     *
33
     * @return void
34
     */
35
    public function setEmailHelper($emailHelper);
36
37
    /**
38
     * @return HttpHelper
39
     */
40
    public function getHttpHelper();
41
42
    /**
43
     * @param HttpHelper $httpHelper
44
     *
45
     * @return void
46
     */
47
    public function setHttpHelper($httpHelper);
48
49
    /**
50
     * @return ILocationProvider
51
     */
52
    public function getLocationProvider();
53
54
    /**
55
     * @param ILocationProvider $locationProvider
56
     *
57
     * @return void
58
     */
59
    public function setLocationProvider(ILocationProvider $locationProvider);
60
61
    /**
62
     * @return IXffTrustProvider
63
     */
64
    public function getXffTrustProvider();
65
66
    /**
67
     * @param IXffTrustProvider $xffTrustProvider
68
     *
69
     * @return void
70
     */
71
    public function setXffTrustProvider(IXffTrustProvider $xffTrustProvider);
72
73
    /**
74
     * @return IRDnsProvider
75
     */
76
    public function getRdnsProvider();
77
78
    /**
79
     * @param IRDnsProvider $rdnsProvider
80
     *
81
     * @return void
82
     */
83
    public function setRdnsProvider($rdnsProvider);
84
85
    /**
86
     * @return IAntiSpoofProvider
87
     */
88
    public function getAntiSpoofProvider();
89
90
    /**
91
     * @param IAntiSpoofProvider $antiSpoofProvider
92
     *
93
     * @return void
94
     */
95
    public function setAntiSpoofProvider($antiSpoofProvider);
96
97
    /**
98
     * @return PdoDatabase
99
     */
100
    public function getDatabase();
101
102
    /**
103
     * @param PdoDatabase $database
104
     *
105
     * @return void
106
     */
107
    public function setDatabase($database);
108
109
    /**
110
     * @return IOAuthProtocolHelper
111
     */
112
    public function getOAuthProtocolHelper();
113
114
    /**
115
     * @param IOAuthProtocolHelper $oauthProtocolHelper
116
     *
117
     * @return void
118
     */
119
    public function setOAuthProtocolHelper($oauthProtocolHelper);
120
121
    /**
122
     * @return void
123
     */
124
    public function execute();
125
126
    /**
127
     * Sets the site configuration object for this page
128
     *
129
     * @param SiteConfiguration $configuration
130
     *
131
     * @return void
132
     */
133
    public function setSiteConfiguration($configuration);
134
135
    /**
136
     * @return IrcNotificationHelper
137
     */
138
    public function getNotificationHelper();
139
140
    /**
141
     * @param IrcNotificationHelper $notificationHelper
142
     *
143
     * @return void
144
     */
145
    public function setNotificationHelper($notificationHelper);
146
147
    /**
148
     * @return TorExitProvider
149
     */
150
    public function getTorExitProvider();
151
152
    /**
153
     * @param TorExitProvider $torExitProvider
154
     *
155
     * @return void
156
     */
157
    public function setTorExitProvider($torExitProvider);
158
}