Issues (1169)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/API/WebRes_GetSbdItemsPricing.php (4 issues)

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
namespace Gueststream\PMS\IQWare\API;
4
5
class WebRes_GetSbdItemsPricing
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var string $strISOLanguage
15
     */
16
    protected $strISOLanguage = null;
17
18
    /**
19
     * @var int $intRoomType
20
     */
21
    protected $intRoomType = null;
22
23
    /**
24
     * @var int $intRateID
25
     */
26
    protected $intRateID = null;
27
28
    /**
29
     * @var int $intGuestCount
30
     */
31
    protected $intGuestCount = null;
32
33
    /**
34
     * @var string $strChildren
35
     */
36
    protected $strChildren = null;
37
38
    /**
39
     * @var \DateTime $dArrDate
40
     */
41
    protected $dArrDate = null;
42
43
    /**
44
     * @var \DateTime $dDepDate
45
     */
46
    protected $dDepDate = null;
47
48
    /**
49
     * @var string $strAttributes
50
     */
51
    protected $strAttributes = null;
52
53
    /**
54
     * @var string $strLocations
55
     */
56
    protected $strLocations = null;
57
58
    /**
59
     * @var int $intRoomQty
60
     */
61
    protected $intRoomQty = null;
62
63
    /**
64
     * @param int $intGUID
65
     * @param string $strISOLanguage
66
     * @param int $intRoomType
67
     * @param int $intRateID
68
     * @param int $intGuestCount
69
     * @param string $strChildren
70
     * @param \DateTime $dArrDate
71
     * @param \DateTime $dDepDate
72
     * @param string $strAttributes
73
     * @param string $strLocations
74
     * @param int $intRoomQty
75
     */
76
    public function __construct($intGUID, $strISOLanguage, $intRoomType, $intRateID, $intGuestCount, $strChildren, \DateTime $dArrDate, \DateTime $dDepDate, $strAttributes, $strLocations, $intRoomQty)
77
    {
78
        $this->intGUID = $intGUID;
79
        $this->strISOLanguage = $strISOLanguage;
80
        $this->intRoomType = $intRoomType;
81
        $this->intRateID = $intRateID;
82
        $this->intGuestCount = $intGuestCount;
83
        $this->strChildren = $strChildren;
84
        $this->dArrDate = $dArrDate->format('Y-m-d');
0 ignored issues
show
Documentation Bug introduced by
It seems like $dArrDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dArrDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
85
        $this->dDepDate = $dDepDate->format('Y-m-d');
0 ignored issues
show
Documentation Bug introduced by
It seems like $dDepDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dDepDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
86
        $this->strAttributes = $strAttributes;
87
        $this->strLocations = $strLocations;
88
        $this->intRoomQty = $intRoomQty;
89
    }
90
91
    /**
92
     * @return int
93
     */
94
    public function getIntGUID()
95
    {
96
        return $this->intGUID;
97
    }
98
99
    /**
100
     * @param int $intGUID
101
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
102
     */
103
    public function setIntGUID($intGUID)
104
    {
105
        $this->intGUID = $intGUID;
106
        return $this;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function getStrISOLanguage()
113
    {
114
        return $this->strISOLanguage;
115
    }
116
117
    /**
118
     * @param string $strISOLanguage
119
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
120
     */
121
    public function setStrISOLanguage($strISOLanguage)
122
    {
123
        $this->strISOLanguage = $strISOLanguage;
124
        return $this;
125
    }
126
127
    /**
128
     * @return int
129
     */
130
    public function getIntRoomType()
131
    {
132
        return $this->intRoomType;
133
    }
134
135
    /**
136
     * @param int $intRoomType
137
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
138
     */
139
    public function setIntRoomType($intRoomType)
140
    {
141
        $this->intRoomType = $intRoomType;
142
        return $this;
143
    }
144
145
    /**
146
     * @return int
147
     */
148
    public function getIntRateID()
149
    {
150
        return $this->intRateID;
151
    }
152
153
    /**
154
     * @param int $intRateID
155
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
156
     */
157
    public function setIntRateID($intRateID)
158
    {
159
        $this->intRateID = $intRateID;
160
        return $this;
161
    }
162
163
    /**
164
     * @return int
165
     */
166
    public function getIntGuestCount()
167
    {
168
        return $this->intGuestCount;
169
    }
170
171
    /**
172
     * @param int $intGuestCount
173
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
174
     */
175
    public function setIntGuestCount($intGuestCount)
176
    {
177
        $this->intGuestCount = $intGuestCount;
178
        return $this;
179
    }
180
181
    /**
182
     * @return string
183
     */
184
    public function getStrChildren()
185
    {
186
        return $this->strChildren;
187
    }
188
189
    /**
190
     * @param string $strChildren
191
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
192
     */
193
    public function setStrChildren($strChildren)
194
    {
195
        $this->strChildren = $strChildren;
196
        return $this;
197
    }
198
199
    /**
200
     * @return \DateTime
201
     */
202
    public function getDArrDate()
203
    {
204
        if ($this->dArrDate == null) {
205
            return null;
206
        } else {
207
            try {
208
                return new \DateTime($this->dArrDate);
209
            } catch (\Exception $e) {
210
                return false;
211
            }
212
        }
213
    }
214
215
    /**
216
     * @param \DateTime $dArrDate
217
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
218
     */
219
    public function setDArrDate(\DateTime $dArrDate)
220
    {
221
        $this->dArrDate = $dArrDate->format('Y-m-d');
0 ignored issues
show
Documentation Bug introduced by
It seems like $dArrDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dArrDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
222
        return $this;
223
    }
224
225
    /**
226
     * @return \DateTime
227
     */
228
    public function getDDepDate()
229
    {
230
        if ($this->dDepDate == null) {
231
            return null;
232
        } else {
233
            try {
234
                return new \DateTime($this->dDepDate);
235
            } catch (\Exception $e) {
236
                return false;
237
            }
238
        }
239
    }
240
241
    /**
242
     * @param \DateTime $dDepDate
243
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
244
     */
245
    public function setDDepDate(\DateTime $dDepDate)
246
    {
247
        $this->dDepDate = $dDepDate->format('Y-m-d');
0 ignored issues
show
Documentation Bug introduced by
It seems like $dDepDate->format('Y-m-d') of type string is incompatible with the declared type object<DateTime> of property $dDepDate.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
248
        return $this;
249
    }
250
251
    /**
252
     * @return string
253
     */
254
    public function getStrAttributes()
255
    {
256
        return $this->strAttributes;
257
    }
258
259
    /**
260
     * @param string $strAttributes
261
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
262
     */
263
    public function setStrAttributes($strAttributes)
264
    {
265
        $this->strAttributes = $strAttributes;
266
        return $this;
267
    }
268
269
    /**
270
     * @return string
271
     */
272
    public function getStrLocations()
273
    {
274
        return $this->strLocations;
275
    }
276
277
    /**
278
     * @param string $strLocations
279
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
280
     */
281
    public function setStrLocations($strLocations)
282
    {
283
        $this->strLocations = $strLocations;
284
        return $this;
285
    }
286
287
    /**
288
     * @return int
289
     */
290
    public function getIntRoomQty()
291
    {
292
        return $this->intRoomQty;
293
    }
294
295
    /**
296
     * @param int $intRoomQty
297
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetSbdItemsPricing
298
     */
299
    public function setIntRoomQty($intRoomQty)
300
    {
301
        $this->intRoomQty = $intRoomQty;
302
        return $this;
303
    }
304
}
305