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/WSCRSHo_MemberSearch.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
namespace Gueststream\PMS\IQWare\API;
4
5
class WSCRSHo_MemberSearch
6
{
7
8
    /**
9
     * @var string $AccountNo
10
     */
11
    protected $AccountNo = null;
12
13
    /**
14
     * @var string $PhoneNo
15
     */
16
    protected $PhoneNo = null;
17
18
    /**
19
     * @var string $LastName
20
     */
21
    protected $LastName = null;
22
23
    /**
24
     * @var string $FirstName
25
     */
26
    protected $FirstName = null;
27
28
    /**
29
     * @var string $CompanyNo
30
     */
31
    protected $CompanyNo = null;
32
33
    /**
34
     * @var boolean $IsActive
35
     */
36
    protected $IsActive = null;
37
38
    /**
39
     * @var TSearchRigidity $Rigidity
40
     */
41
    protected $Rigidity = null;
42
43
    /**
44
     * @param string $AccountNo
45
     * @param string $PhoneNo
46
     * @param string $LastName
47
     * @param string $FirstName
48
     * @param string $CompanyNo
49
     * @param boolean $IsActive
50
     * @param TSearchRigidity $Rigidity
51
     */
52 View Code Duplication
    public function __construct($AccountNo, $PhoneNo, $LastName, $FirstName, $CompanyNo, $IsActive, $Rigidity)
0 ignored issues
show
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
53
    {
54
        $this->AccountNo = $AccountNo;
55
        $this->PhoneNo = $PhoneNo;
56
        $this->LastName = $LastName;
57
        $this->FirstName = $FirstName;
58
        $this->CompanyNo = $CompanyNo;
59
        $this->IsActive = $IsActive;
60
        $this->Rigidity = $Rigidity;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getAccountNo()
67
    {
68
        return $this->AccountNo;
69
    }
70
71
    /**
72
     * @param string $AccountNo
73
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
74
     */
75
    public function setAccountNo($AccountNo)
76
    {
77
        $this->AccountNo = $AccountNo;
78
        return $this;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function getPhoneNo()
85
    {
86
        return $this->PhoneNo;
87
    }
88
89
    /**
90
     * @param string $PhoneNo
91
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
92
     */
93
    public function setPhoneNo($PhoneNo)
94
    {
95
        $this->PhoneNo = $PhoneNo;
96
        return $this;
97
    }
98
99
    /**
100
     * @return string
101
     */
102
    public function getLastName()
103
    {
104
        return $this->LastName;
105
    }
106
107
    /**
108
     * @param string $LastName
109
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
110
     */
111
    public function setLastName($LastName)
112
    {
113
        $this->LastName = $LastName;
114
        return $this;
115
    }
116
117
    /**
118
     * @return string
119
     */
120
    public function getFirstName()
121
    {
122
        return $this->FirstName;
123
    }
124
125
    /**
126
     * @param string $FirstName
127
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
128
     */
129
    public function setFirstName($FirstName)
130
    {
131
        $this->FirstName = $FirstName;
132
        return $this;
133
    }
134
135
    /**
136
     * @return string
137
     */
138
    public function getCompanyNo()
139
    {
140
        return $this->CompanyNo;
141
    }
142
143
    /**
144
     * @param string $CompanyNo
145
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
146
     */
147
    public function setCompanyNo($CompanyNo)
148
    {
149
        $this->CompanyNo = $CompanyNo;
150
        return $this;
151
    }
152
153
    /**
154
     * @return boolean
155
     */
156
    public function getIsActive()
157
    {
158
        return $this->IsActive;
159
    }
160
161
    /**
162
     * @param boolean $IsActive
163
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
164
     */
165
    public function setIsActive($IsActive)
166
    {
167
        $this->IsActive = $IsActive;
168
        return $this;
169
    }
170
171
    /**
172
     * @return TSearchRigidity
173
     */
174
    public function getRigidity()
175
    {
176
        return $this->Rigidity;
177
    }
178
179
    /**
180
     * @param TSearchRigidity $Rigidity
181
     * @return \Gueststream\PMS\IQWare\API\WSCRSHo_MemberSearch
182
     */
183
    public function setRigidity($Rigidity)
184
    {
185
        $this->Rigidity = $Rigidity;
186
        return $this;
187
    }
188
}
189