This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
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
|
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
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. ![]() |
|||
398 | |||
399 | Breadcrumbs::register('announcement', function($breadcrumbs) { |
||
400 | $breadcrumbs->parent('setting'); |
||
401 | $breadcrumbs->push('Announcement', route('announcement')); |
||
402 | }); |
||
403 | } |
||
404 | |||
405 |
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.