Issues (71)

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/Request/User/EditUserRequest.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
namespace OmnideskBundle\Request\User;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class EditUserRequest
8
 * @package OmnideskBundle\Request\User
9
 */
10 View Code Duplication
class EditUserRequest implements RequestInterface
0 ignored issues
show
This class 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...
11
{
12
    /**
13
     * @var int
14
     */
15
    private $userId;
16
17
    /**
18
     * @var string
19
     */
20
    private $email;
21
22
    /**
23
     * @var string
24
     */
25
    private $fullName;
26
27
    /**
28
     * @var string
29
     */
30
    private $companyName;
31
32
    /**
33
     * @var string
34
     */
35
    private $companyPosition;
36
37
    /**
38
     * @var string
39
     */
40
    private $note;
41
42
    /**
43
     * @var int
44
     */
45
    private $languageId;
46
47
    /**
48
     * @var array
49
     */
50
    private $customFields;
51
52
    /**
53
     * @return int
54
     */
55
    public function getUserId()
56
    {
57
        return $this->userId;
58
    }
59
60
    /**
61
     * @param int $userId
62
     * @return $this
63
     */
64
    public function setUserId($userId)
65
    {
66
        $this->userId = $userId;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getEmail()
75
    {
76
        return $this->email;
77
    }
78
79
    /**
80
     * @param string $email
81
     * @return $this
82
     */
83
    public function setEmail($email)
84
    {
85
        $this->email = $email;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getFullName()
94
    {
95
        return $this->fullName;
96
    }
97
98
    /**
99
     * @param string $fullName
100
     * @return $this
101
     */
102
    public function setFullName($fullName)
103
    {
104
        $this->fullName = $fullName;
105
106
        return $this;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function getCompanyName()
113
    {
114
        return $this->companyName;
115
    }
116
117
    /**
118
     * @param string $companyName
119
     * @return $this
120
     */
121
    public function setCompanyName($companyName)
122
    {
123
        $this->companyName = $companyName;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @return string
130
     */
131
    public function getCompanyPosition()
132
    {
133
        return $this->companyPosition;
134
    }
135
136
    /**
137
     * @param string $companyPosition
138
     * @return $this
139
     */
140
    public function setCompanyPosition($companyPosition)
141
    {
142
        $this->companyPosition = $companyPosition;
143
144
        return $this;
145
    }
146
147
    /**
148
     * @return string
149
     */
150
    public function getNote()
151
    {
152
        return $this->note;
153
    }
154
155
    /**
156
     * @param string $note
157
     * @return $this
158
     */
159
    public function setNote($note)
160
    {
161
        $this->note = $note;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @return int
168
     */
169
    public function getLanguageId()
170
    {
171
        return $this->languageId;
172
    }
173
174
    /**
175
     * @param int $languageId
176
     * @return $this
177
     */
178
    public function setLanguageId($languageId)
179
    {
180
        $this->languageId = $languageId;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @return array
187
     */
188
    public function getCustomFields()
189
    {
190
        return $this->customFields;
191
    }
192
193
    /**
194
     * @param array $customFields
195
     * @return $this
196
     */
197
    public function setCustomFields($customFields)
198
    {
199
        $this->customFields = $customFields;
200
201
        return $this;
202
    }
203
}
204