Issues (3884)

Security Analysis    not enabled

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.

app/Plugins/ServiceDesk/breadcrumbs.php (55 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
/**
4
 * Products
5
 */
6 View Code Duplication
if (!Breadcrumbs::exists('service-desk.products.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
7
    Breadcrumbs::register('service-desk.products.index', function($breadcrumbs) {
8
        $breadcrumbs->parent('setting');
9
        $breadcrumbs->push('Products', route('service-desk.products.index'));
10
    });
11
}
12 View Code Duplication
if (!Breadcrumbs::exists('service-desk.products.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
13
    Breadcrumbs::register('service-desk.products.create', function($breadcrumbs) {
14
        $breadcrumbs->parent('service-desk.products.index');
15
        $breadcrumbs->push('Create', route('service-desk.products.create'));
16
    });
17
}
18 View Code Duplication
if (!Breadcrumbs::exists('service-desk.products.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
19
    Breadcrumbs::register('service-desk.products.edit', function($breadcrumbs, $id) {
20
        $breadcrumbs->parent('service-desk.products.index');
21
        $breadcrumbs->push('Edit', route('service-desk.products.edit', $id));
22
    });
23
}
24 View Code Duplication
if (!Breadcrumbs::exists('service-desk.products.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
25
    Breadcrumbs::register('service-desk.products.show', function($breadcrumbs, $id) {
26
        $breadcrumbs->parent('service-desk.products.index');
27
        $breadcrumbs->push('Show', route('service-desk.products.show', $id));
28
    });
29
}
30 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contract.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
31
32
    /**
33
     * Contract
34
     */
35
    Breadcrumbs::register('service-desk.contract.index', function($breadcrumbs) {
36
        $breadcrumbs->parent('setting');
37
        $breadcrumbs->push('Contracts', route('service-desk.contract.index'));
38
    });
39
}
40 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contract.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
41
    Breadcrumbs::register('service-desk.contract.create', function($breadcrumbs) {
42
        $breadcrumbs->parent('service-desk.contract.index');
43
        $breadcrumbs->push('Create', route('service-desk.contract.create'));
44
    });
45
}
46 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contract.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
47
    Breadcrumbs::register('service-desk.contract.edit', function($breadcrumbs, $id) {
48
        $breadcrumbs->parent('service-desk.contract.index');
49
        $breadcrumbs->push('Edit', route('service-desk.contract.edit', $id));
50
    });
51
}
52 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contract.show')) {
0 ignored issues
show
This code seems to be duplicated across 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
    Breadcrumbs::register('service-desk.contract.show', function($breadcrumbs, $id) {
54
        $breadcrumbs->parent('service-desk.contract.index');
55
        $breadcrumbs->push('Show', route('service-desk.contract.show', $id));
56
    });
57
}
58 View Code Duplication
if (!Breadcrumbs::exists('service-desk.vendor.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
59
60
    /**
61
     * Vendor
62
     */
63
    Breadcrumbs::register('service-desk.vendor.index', function($breadcrumbs) {
64
        $breadcrumbs->parent('setting');
65
        $breadcrumbs->push('Vendor', route('service-desk.vendor.index'));
66
    });
67
}
68 View Code Duplication
if (!Breadcrumbs::exists('service-desk.vendor.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
69
    Breadcrumbs::register('service-desk.vendor.create', function($breadcrumbs) {
70
        $breadcrumbs->parent('service-desk.vendor.index');
71
        $breadcrumbs->push('Create', route('service-desk.vendor.create'));
72
    });
73
}
74 View Code Duplication
if (!Breadcrumbs::exists('service-desk.vendor.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
75
    Breadcrumbs::register('service-desk.vendor.edit', function($breadcrumbs, $id) {
76
        $breadcrumbs->parent('service-desk.vendor.index');
77
        $breadcrumbs->push('Edit', route('service-desk.vendor.edit', $id));
78
    });
79
}
80 View Code Duplication
if (!Breadcrumbs::exists('service-desk.vendor.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
81
    Breadcrumbs::register('service-desk.vendor.show', function($breadcrumbs, $id) {
82
        $breadcrumbs->parent('service-desk.vendor.index');
83
        $breadcrumbs->push('Show', route('service-desk.vendor.show', $id));
84
    });
85
}
86 View Code Duplication
if (!Breadcrumbs::exists('service-desk.assetstypes.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
87
88
    /**
89
     * Asset Type
90
     */
91
    Breadcrumbs::register('service-desk.assetstypes.index', function($breadcrumbs) {
92
        $breadcrumbs->parent('setting');
93
        $breadcrumbs->push('Asset Types', route('service-desk.assetstypes.index'));
94
    });
95
}
96 View Code Duplication
if (!Breadcrumbs::exists('service-desk.assetstypes.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
97
    Breadcrumbs::register('service-desk.assetstypes.create', function($breadcrumbs) {
98
        $breadcrumbs->parent('service-desk.assetstypes.index');
99
        $breadcrumbs->push('Create', route('service-desk.assetstypes.create'));
100
    });
101
}
102 View Code Duplication
if (!Breadcrumbs::exists('service-desk.assetstypes.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
103
    Breadcrumbs::register('service-desk.assetstypes.edit', function($breadcrumbs, $id) {
104
        $breadcrumbs->parent('service-desk.assetstypes.index');
105
        $breadcrumbs->push('Create', route('service-desk.assetstypes.edit', $id));
106
    });
107
}
108 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contractstypes.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
109
110
    /**
111
     * Contract Type
112
     */
113
    Breadcrumbs::register('service-desk.contractstypes.index', function($breadcrumbs) {
114
        $breadcrumbs->parent('setting');
115
        $breadcrumbs->push('Contract Types', route('service-desk.contractstypes.index'));
116
    });
117
}
118 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contractstypes.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
119
    Breadcrumbs::register('service-desk.contractstypes.create', function($breadcrumbs) {
120
        $breadcrumbs->parent('service-desk.contractstypes.index');
121
        $breadcrumbs->push('Create', route('service-desk.contractstypes.create'));
122
    });
123
}
124 View Code Duplication
if (!Breadcrumbs::exists('service-desk.contractstypes.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
125
126
    Breadcrumbs::register('service-desk.contractstypes.edit', function($breadcrumbs, $id) {
127
        $breadcrumbs->parent('service-desk.contractstypes.index');
128
        $breadcrumbs->push('Edit', route('service-desk.contractstypes.edit', $id));
129
    });
130
}
131 View Code Duplication
if (!Breadcrumbs::exists('service-desk.licensetypes.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
132
133
    /**
134
     * License Type
135
     */
136
    Breadcrumbs::register('service-desk.licensetypes.index', function($breadcrumbs) {
137
        $breadcrumbs->parent('setting');
138
        $breadcrumbs->push('License Types', route('service-desk.contractstypes.index'));
139
    });
140
}
141 View Code Duplication
if (!Breadcrumbs::exists('service-desk.licensetypes.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
142
    Breadcrumbs::register('service-desk.licensetypes.create', function($breadcrumbs) {
143
        $breadcrumbs->parent('service-desk.licensetypes.index');
144
        $breadcrumbs->push('Create', route('service-desk.licensetypes.create'));
145
    });
146
}
147 View Code Duplication
if (!Breadcrumbs::exists('service-desk.licensetypes.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
148
149
    Breadcrumbs::register('service-desk.licensetypes.edit', function($breadcrumbs, $id) {
150
        $breadcrumbs->parent('service-desk.licensetypes.index');
151
        $breadcrumbs->push('Edit', route('service-desk.licensetypes.edit', $id));
152
    });
153
}
154 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location-category.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
155
156
    /**
157
     * Location Category
158
     */
159
    Breadcrumbs::register('service-desk.location-category.index', function($breadcrumbs) {
160
        $breadcrumbs->parent('setting');
161
        $breadcrumbs->push('Location Category', route('service-desk.location-category.index'));
162
    });
163
}
164 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location-category.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
165
    Breadcrumbs::register('service-desk.location-category.create', function($breadcrumbs) {
166
        $breadcrumbs->parent('service-desk.location-category.index');
167
        $breadcrumbs->push('Create', route('service-desk.location-category.create'));
168
    });
169
}
170 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location-category.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
171
172
    Breadcrumbs::register('service-desk.location-category.edit', function($breadcrumbs, $id) {
173
        $breadcrumbs->parent('service-desk.location-category.index');
174
        $breadcrumbs->push('Edit', route('service-desk.location-category.edit', $id));
175
    });
176
}
177 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
178
179
    /**
180
     * Location
181
     */
182
    Breadcrumbs::register('service-desk.location.index', function($breadcrumbs) {
183
        $breadcrumbs->parent('setting');
184
        $breadcrumbs->push('Location', route('service-desk.location.index'));
185
    });
186
}
187 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
188
    Breadcrumbs::register('service-desk.location.create', function($breadcrumbs) {
189
        $breadcrumbs->parent('service-desk.location.index');
190
        $breadcrumbs->push('Create', route('service-desk.location.create'));
191
    });
192
}
193 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
194
195
    Breadcrumbs::register('service-desk.location.edit', function($breadcrumbs, $id) {
196
        $breadcrumbs->parent('service-desk.location.index');
197
        $breadcrumbs->push('Edit', route('service-desk.location.edit', $id));
198
    });
199
}
200 View Code Duplication
if (!Breadcrumbs::exists('service-desk.location.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
201
    Breadcrumbs::register('service-desk.location.show', function($breadcrumbs, $id) {
202
        $breadcrumbs->parent('service-desk.location.index');
203
        $breadcrumbs->push('Show', route('service-desk.location.show', $id));
204
    });
205
}
206 View Code Duplication
if (!Breadcrumbs::exists('service-desk.procurment.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
207
208
    /**
209
     * Product Procurement
210
     */
211
    Breadcrumbs::register('service-desk.procurment.index', function($breadcrumbs) {
212
        $breadcrumbs->parent('setting');
213
        $breadcrumbs->push('Product Procurement', route('service-desk.procurment.index'));
214
    });
215
}
216 View Code Duplication
if (!Breadcrumbs::exists('service-desk.procurment.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
217
    Breadcrumbs::register('service-desk.procurment.create', function($breadcrumbs) {
218
        $breadcrumbs->parent('service-desk.procurment.index');
219
        $breadcrumbs->push('Create', route('service-desk.procurment.create'));
220
    });
221
}
222 View Code Duplication
if (!Breadcrumbs::exists('service-desk.procurment.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
223
224
    Breadcrumbs::register('service-desk.procurment.edit', function($breadcrumbs, $id) {
225
        $breadcrumbs->parent('service-desk.procurment.index');
226
        $breadcrumbs->push('Edit', route('service-desk.procurment.edit', $id));
227
    });
228
}
229 View Code Duplication
if (!Breadcrumbs::exists('form.builder.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
230
    /**
231
     * Form Builder
232
     */
233
    Breadcrumbs::register('form.builder.index', function($breadcrumbs) {
234
        $breadcrumbs->parent('setting');
235
        $breadcrumbs->push('Form Builder', route('form.builder.index'));
236
    });
237
}
238 View Code Duplication
if (!Breadcrumbs::exists('form.builder.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
239
    Breadcrumbs::register('form.builder.create', function($breadcrumbs) {
240
        $breadcrumbs->parent('form.builder.index');
241
        $breadcrumbs->push('Create', route('form.builder.create'));
242
    });
243
}
244 View Code Duplication
if (!Breadcrumbs::exists('form.builder.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
245
    Breadcrumbs::register('form.builder.edit', function($breadcrumbs, $id) {
246
        $breadcrumbs->parent('form.builder.index');
247
        $breadcrumbs->push('Edit', route('form.builder.edit', $id));
248
    });
249
}
250 View Code Duplication
if (!Breadcrumbs::exists('form.builder.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
251
    Breadcrumbs::register('form.builder.show', function($breadcrumbs, $id) {
252
        $breadcrumbs->parent('form.builder.index');
253
        $breadcrumbs->push('Edit', route('form.builder.show', $id));
254
    });
255
}
256 View Code Duplication
if (!Breadcrumbs::exists('service-desk.cabs.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
257
258
    /**
259
     * Cab
260
     */
261
    Breadcrumbs::register('service-desk.cabs.index', function($breadcrumbs) {
262
        $breadcrumbs->parent('setting');
263
        $breadcrumbs->push('CAB', route('service-desk.cabs.index'));
264
    });
265
}
266 View Code Duplication
if (!Breadcrumbs::exists('service-desk.cabs.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
267
    Breadcrumbs::register('service-desk.cabs.create', function($breadcrumbs) {
268
        $breadcrumbs->parent('service-desk.cabs.index');
269
        $breadcrumbs->push('Create', route('service-desk.cabs.create'));
270
    });
271
}
272 View Code Duplication
if (!Breadcrumbs::exists('service-desk.cabs.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
273
274
    Breadcrumbs::register('service-desk.cabs.edit', function($breadcrumbs, $id) {
275
        $breadcrumbs->parent('service-desk.cabs.index');
276
        $breadcrumbs->push('Edit', route('service-desk.cabs.edit', $id));
277
    });
278
}
279 View Code Duplication
if (!Breadcrumbs::exists('service-desk.asset.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
280
281
    /**
282
     * Assets
283
     */
284
    Breadcrumbs::register('service-desk.asset.index', function($breadcrumbs) {
285
        $breadcrumbs->parent('dashboard');
286
        $breadcrumbs->push('Assets', route('service-desk.asset.index'));
287
    });
288
}
289 View Code Duplication
if (!Breadcrumbs::exists('service-desk.asset.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
290
    Breadcrumbs::register('service-desk.asset.create', function($breadcrumbs) {
291
        $breadcrumbs->parent('service-desk.asset.index');
292
        $breadcrumbs->push('Create', route('service-desk.asset.create'));
293
    });
294
}
295 View Code Duplication
if (!Breadcrumbs::exists('service-desk.asset.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
296
297
    Breadcrumbs::register('service-desk.asset.edit', function($breadcrumbs, $id) {
298
        $breadcrumbs->parent('service-desk.asset.index');
299
        $breadcrumbs->push('Edit', route('service-desk.asset.edit', $id));
300
    });
301
}
302 View Code Duplication
if (!Breadcrumbs::exists('service-desk.asset.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
303
    Breadcrumbs::register('service-desk.asset.show', function($breadcrumbs, $id) {
304
        $breadcrumbs->parent('service-desk.asset.index');
305
        $breadcrumbs->push('Show', route('service-desk.asset.show', $id));
306
    });
307
}
308 View Code Duplication
if (!Breadcrumbs::exists('service-desk.releases.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
309
310
    /**
311
     * Release
312
     */
313
    Breadcrumbs::register('service-desk.releases.index', function($breadcrumbs) {
314
        $breadcrumbs->parent('dashboard');
315
        $breadcrumbs->push('Release', route('service-desk.releases.index'));
316
    });
317
}
318 View Code Duplication
if (!Breadcrumbs::exists('service-desk.releases.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
319
    Breadcrumbs::register('service-desk.releases.create', function($breadcrumbs) {
320
        $breadcrumbs->parent('service-desk.releases.index');
321
        $breadcrumbs->push('Create', route('service-desk.releases.create'));
322
    });
323
}
324 View Code Duplication
if (!Breadcrumbs::exists('service-desk.releases.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
325
326
    Breadcrumbs::register('service-desk.releases.edit', function($breadcrumbs, $id) {
327
        $breadcrumbs->parent('service-desk.releases.index');
328
        $breadcrumbs->push('Edit', route('service-desk.releases.edit', $id));
329
    });
330
}
331 View Code Duplication
if (!Breadcrumbs::exists('service-desk.releases.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
332
    Breadcrumbs::register('service-desk.releases.show', function($breadcrumbs, $id) {
333
        $breadcrumbs->parent('service-desk.releases.index');
334
        $breadcrumbs->push('Show', route('service-desk.releases.show', $id));
335
    });
336
}
337 View Code Duplication
if (!Breadcrumbs::exists('service-desk.changes.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
338
339
    /**
340
     * Change
341
     */
342
    Breadcrumbs::register('service-desk.changes.index', function($breadcrumbs) {
343
        $breadcrumbs->parent('dashboard');
344
        $breadcrumbs->push('Change', route('service-desk.changes.index'));
345
    });
346
}
347 View Code Duplication
if (!Breadcrumbs::exists('service-desk.changes.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
348
    Breadcrumbs::register('service-desk.changes.create', function($breadcrumbs) {
349
        $breadcrumbs->parent('service-desk.changes.index');
350
        $breadcrumbs->push('Create', route('service-desk.changes.create'));
351
    });
352
}
353 View Code Duplication
if (!Breadcrumbs::exists('service-desk.changes.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
354
    Breadcrumbs::register('service-desk.changes.edit', function($breadcrumbs, $id) {
355
        $breadcrumbs->parent('service-desk.changes.index');
356
        $breadcrumbs->push('Edit', route('service-desk.changes.edit', $id));
357
    });
358
}
359 View Code Duplication
if (!Breadcrumbs::exists('service-desk.changes.show')) {
0 ignored issues
show
This code seems to be duplicated across 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...
360
    Breadcrumbs::register('service-desk.changes.show', function($breadcrumbs, $id) {
361
        $breadcrumbs->parent('service-desk.changes.index');
362
        $breadcrumbs->push('Show', route('service-desk.changes.show', $id));
363
    });
364
}
365
/**
366
 * Problems
367
 */
368 View Code Duplication
if (!Breadcrumbs::exists('service-desk.problem.index')) {
0 ignored issues
show
This code seems to be duplicated across 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...
369
370
    Breadcrumbs::register('service-desk.problem.index', function($breadcrumbs) {
371
        $breadcrumbs->parent('dashboard');
372
        $breadcrumbs->push('Problem', route('service-desk.problem.index'));
373
    });
374
}
375 View Code Duplication
if (!Breadcrumbs::exists('service-desk.problem.create')) {
0 ignored issues
show
This code seems to be duplicated across 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...
376
    Breadcrumbs::register('service-desk.problem.create', function($breadcrumbs) {
377
        $breadcrumbs->parent('service-desk.problem.index');
378
        $breadcrumbs->push('Create', route('service-desk.problem.create'));
379
    });
380
}
381 View Code Duplication
if (!Breadcrumbs::exists('service-desk.problem.edit')) {
0 ignored issues
show
This code seems to be duplicated across 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...
382
    Breadcrumbs::register('service-desk.problem.edit', function($breadcrumbs, $id) {
383
        $breadcrumbs->parent('service-desk.problem.index');
384
        $breadcrumbs->push('Edit', route('service-desk.problem.edit', $id));
385
    });
386
}
387 View Code Duplication
if (!Breadcrumbs::exists('show.problem')) {
0 ignored issues
show
This code seems to be duplicated across 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...
388
    Breadcrumbs::register('show.problem', function($breadcrumbs, $id) {
389
        $breadcrumbs->parent('service-desk.problem.index');
390
        $breadcrumbs->push('Show', route('show.problem', $id));
391
    });
392
}
393
394
/**
395
 * Announcement
396
 */
397 View Code Duplication
if (!Breadcrumbs::exists('announcement')) {
0 ignored issues
show
This code seems to be duplicated across 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...
398
399
    Breadcrumbs::register('announcement', function($breadcrumbs) {
400
        $breadcrumbs->parent('setting');
401
        $breadcrumbs->push('Announcement', route('announcement'));
402
    });
403
}
404
405