Total Complexity | 124 |
Total Lines | 633 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
Complex classes like EntityTest often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use EntityTest, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
14 | class EntityTest extends TestCase |
||
15 | { |
||
16 | public function testAccountEntity() |
||
17 | { |
||
18 | $this->performEntityTest(\Picqer\Financials\Exact\Account::class); |
||
19 | } |
||
20 | |||
21 | public function testAccountClassificationEntity() |
||
22 | { |
||
23 | $this->performEntityTest(\Picqer\Financials\Exact\AccountClassification::class); |
||
24 | } |
||
25 | |||
26 | public function testAccountInvolvedAccountEntity() |
||
27 | { |
||
28 | $this->performEntityTest(\Picqer\Financials\Exact\AccountInvolvedAccount::class); |
||
29 | } |
||
30 | |||
31 | public function testAccountItemEntity() |
||
32 | { |
||
33 | $this->performEntityTest(\Picqer\Financials\Exact\AccountItem::class); |
||
34 | } |
||
35 | |||
36 | public function testAddressEntity() |
||
37 | { |
||
38 | $this->performEntityTest(\Picqer\Financials\Exact\Address::class); |
||
39 | } |
||
40 | |||
41 | public function testBankAccountEntity() |
||
42 | { |
||
43 | $this->performEntityTest(\Picqer\Financials\Exact\BankAccount::class); |
||
44 | } |
||
45 | |||
46 | public function testBankEntity() |
||
47 | { |
||
48 | $this->performEntityTest(\Picqer\Financials\Exact\Bank::class); |
||
49 | } |
||
50 | |||
51 | public function testBankEntryEntity() |
||
52 | { |
||
53 | $this->performEntityTest(\Picqer\Financials\Exact\BankEntry::class); |
||
54 | } |
||
55 | |||
56 | public function testBankEntryLineEntity() |
||
57 | { |
||
58 | $this->performEntityTest(\Picqer\Financials\Exact\BankEntryLine::class); |
||
59 | } |
||
60 | |||
61 | public function testBudgetEntity() |
||
62 | { |
||
63 | $this->performEntityTest(\Picqer\Financials\Exact\Budget::class); |
||
64 | } |
||
65 | |||
66 | public function testCashEntryEntity() |
||
67 | { |
||
68 | $this->performEntityTest(\Picqer\Financials\Exact\CashEntry::class); |
||
69 | } |
||
70 | |||
71 | public function testCashEntryLineEntity() |
||
72 | { |
||
73 | $this->performEntityTest(\Picqer\Financials\Exact\CashEntryLine::class); |
||
74 | } |
||
75 | |||
76 | public function testContactEntity() |
||
77 | { |
||
78 | $this->performEntityTest(\Picqer\Financials\Exact\Contact::class); |
||
79 | } |
||
80 | |||
81 | public function testCostcenterEntity() |
||
82 | { |
||
83 | $this->performEntityTest(\Picqer\Financials\Exact\Costcenter::class); |
||
84 | } |
||
85 | |||
86 | public function testCostunitEntity() |
||
87 | { |
||
88 | $this->performEntityTest(\Picqer\Financials\Exact\Costunit::class); |
||
89 | } |
||
90 | |||
91 | public function testDirectDebitMandateEntity() |
||
92 | { |
||
93 | $this->performEntityTest(\Picqer\Financials\Exact\DirectDebitMandate::class); |
||
94 | } |
||
95 | |||
96 | public function testDivisionEntity() |
||
97 | { |
||
98 | $this->performEntityTest(\Picqer\Financials\Exact\Division::class); |
||
99 | } |
||
100 | |||
101 | public function testSystemDivisionEntity() |
||
102 | { |
||
103 | $this->performEntityTest(\Picqer\Financials\Exact\SystemDivision::class); |
||
104 | } |
||
105 | |||
106 | public function testDocumentEntity() |
||
107 | { |
||
108 | $this->performEntityTest(\Picqer\Financials\Exact\Document::class); |
||
109 | } |
||
110 | |||
111 | public function testDocumentAttachmentEntity() |
||
112 | { |
||
113 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentAttachment::class); |
||
114 | $documentAttachment = new \Picqer\Financials\Exact\DocumentAttachment(new Connection()); |
||
115 | $documentAttachment->Url = 'http://www.example.org/index.html?id=123'; |
||
116 | |||
117 | $this->assertSame('http://www.example.org/index.html?id=123&Download=1', $documentAttachment->getDownloadUrl()); |
||
118 | } |
||
119 | |||
120 | public function testDocumentCategoryEntity() |
||
121 | { |
||
122 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentCategory::class); |
||
123 | } |
||
124 | |||
125 | public function testDocumentTypeEntity() |
||
126 | { |
||
127 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentType::class); |
||
128 | } |
||
129 | |||
130 | public function testEmployeeEntity() |
||
131 | { |
||
132 | $this->performEntityTest(\Picqer\Financials\Exact\Employee::class); |
||
133 | } |
||
134 | |||
135 | public function testExchangeRateEntity() |
||
136 | { |
||
137 | $this->performEntityTest(\Picqer\Financials\Exact\ExchangeRate::class); |
||
138 | } |
||
139 | |||
140 | public function testGeneralJournalEntity() |
||
141 | { |
||
142 | $this->performEntityTest(\Picqer\Financials\Exact\GeneralJournalEntry::class); |
||
143 | } |
||
144 | |||
145 | public function testGeneralJournalEntryLineEntity() |
||
146 | { |
||
147 | $this->performEntityTest(\Picqer\Financials\Exact\GeneralJournalEntryLine::class); |
||
148 | } |
||
149 | |||
150 | public function testGLAccountEntity() |
||
151 | { |
||
152 | $this->performEntityTest(\Picqer\Financials\Exact\GLAccount::class); |
||
153 | } |
||
154 | |||
155 | public function testGLTransactionTypeEntity() |
||
156 | { |
||
157 | $this->performEntityTest(\Picqer\Financials\Exact\GLTransactionType::class); |
||
158 | } |
||
159 | |||
160 | public function testInvoiceSalesOrdersEntity() |
||
161 | { |
||
162 | $this->performEntityTest(\Picqer\Financials\Exact\InvoiceSalesOrder::class); |
||
163 | } |
||
164 | |||
165 | public function testItemEntity() |
||
166 | { |
||
167 | $this->performEntityTest(\Picqer\Financials\Exact\Item::class); |
||
168 | $item = new \Picqer\Financials\Exact\Item(new Connection()); |
||
169 | $item->PictureUrl = 'http://www.example.org/index.html?id=123'; |
||
170 | |||
171 | $this->assertSame('http://www.example.org/index.html?id=123', $item->getDownloadUrl()); |
||
172 | } |
||
173 | |||
174 | public function testItemExtraField() |
||
175 | { |
||
176 | $this->performEntityTest(\Picqer\Financials\Exact\ItemExtraField::class); |
||
177 | } |
||
178 | |||
179 | public function testItemGroupEntity() |
||
180 | { |
||
181 | $this->performEntityTest(\Picqer\Financials\Exact\ItemGroup::class); |
||
182 | } |
||
183 | |||
184 | public function testItemWarehouseEntity() |
||
185 | { |
||
186 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehouse::class); |
||
187 | } |
||
188 | |||
189 | public function testJournalEntity() |
||
190 | { |
||
191 | $this->performEntityTest(\Picqer\Financials\Exact\Journal::class); |
||
192 | } |
||
193 | |||
194 | public function testLayoutEntity() |
||
195 | { |
||
196 | $this->performEntityTest(\Picqer\Financials\Exact\Layout::class); |
||
197 | } |
||
198 | |||
199 | public function testMailMessageEntity() |
||
200 | { |
||
201 | $this->performEntityTest(\Picqer\Financials\Exact\MailMessage::class); |
||
202 | } |
||
203 | |||
204 | public function testMailMessageAttachmentEntity() |
||
205 | { |
||
206 | $this->performEntityTest(\Picqer\Financials\Exact\MailMessageAttachment::class); |
||
207 | } |
||
208 | |||
209 | public function testMeEntity() |
||
212 | } |
||
213 | |||
214 | public function testOutstandingInvoicesOverviewEntity() |
||
215 | { |
||
216 | $this->performEntityTest(\Picqer\Financials\Exact\OutstandingInvoicesOverview::class); |
||
217 | } |
||
218 | |||
219 | public function testPayablesListEntity() |
||
220 | { |
||
221 | $this->performEntityTest(\Picqer\Financials\Exact\PayablesList::class); |
||
222 | } |
||
223 | |||
224 | public function testPaymentConditionEntity() |
||
225 | { |
||
226 | $this->performEntityTest(\Picqer\Financials\Exact\PaymentCondition::class); |
||
227 | } |
||
228 | |||
229 | public function testPrintedSalesInvoiceEntity() |
||
230 | { |
||
231 | $this->performEntityTest(\Picqer\Financials\Exact\PrintedSalesInvoice::class); |
||
232 | } |
||
233 | |||
234 | public function testProfitLossOverviewEntity() |
||
235 | { |
||
236 | $this->performEntityTest(\Picqer\Financials\Exact\ProfitLossOverview::class); |
||
237 | } |
||
238 | |||
239 | public function testPurchaseEntryEntity() |
||
240 | { |
||
241 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseEntry::class); |
||
242 | } |
||
243 | |||
244 | public function testPurchaseEntryLineEntity() |
||
245 | { |
||
246 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseEntryLine::class); |
||
247 | } |
||
248 | |||
249 | public function testPurchaseOrderEntity() |
||
250 | { |
||
251 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseOrder::class); |
||
252 | } |
||
253 | |||
254 | public function testPurchaseOrderLineEntity() |
||
255 | { |
||
256 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseOrderLine::class); |
||
257 | } |
||
258 | |||
259 | public function testRevenueListEntity() |
||
260 | { |
||
261 | $this->performEntityTest(\Picqer\Financials\Exact\RevenueList::class); |
||
262 | } |
||
263 | |||
264 | public function testQuotationEntity() |
||
265 | { |
||
266 | $this->performEntityTest(\Picqer\Financials\Exact\Quotation::class); |
||
267 | } |
||
268 | |||
269 | public function testQuotationLineEntity() |
||
270 | { |
||
271 | $this->performEntityTest(\Picqer\Financials\Exact\QuotationLine::class); |
||
272 | } |
||
273 | |||
274 | public function testReceivableListEntity() |
||
275 | { |
||
276 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivableList::class); |
||
277 | } |
||
278 | |||
279 | public function testReportingBalanceEntity() |
||
282 | } |
||
283 | |||
284 | public function testSalesEntryEntity() |
||
285 | { |
||
286 | $this->performEntityTest(\Picqer\Financials\Exact\SalesEntry::class); |
||
287 | } |
||
288 | |||
289 | public function testSalesEntryLineEntity() |
||
290 | { |
||
291 | $this->performEntityTest(\Picqer\Financials\Exact\SalesEntryLine::class); |
||
292 | } |
||
293 | |||
294 | public function testSalesInvoiceEntity() |
||
295 | { |
||
296 | $this->performEntityTest(\Picqer\Financials\Exact\SalesInvoice::class); |
||
297 | } |
||
298 | |||
299 | public function testSalesInvoiceLineEntity() |
||
300 | { |
||
301 | $this->performEntityTest(\Picqer\Financials\Exact\SalesInvoiceLine::class); |
||
302 | } |
||
303 | |||
304 | public function testSalesItemPriceEntity() |
||
305 | { |
||
306 | $this->performEntityTest(\Picqer\Financials\Exact\SalesItemPrice::class); |
||
307 | } |
||
308 | |||
309 | public function testSalesOrderEntity() |
||
310 | { |
||
311 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrder::class); |
||
312 | } |
||
313 | |||
314 | public function testSalesOrderLineEntity() |
||
315 | { |
||
316 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrderLine::class); |
||
317 | } |
||
318 | |||
319 | public function testStockPositionEntity() |
||
320 | { |
||
321 | $this->performEntityTest(\Picqer\Financials\Exact\StockPosition::class); |
||
322 | } |
||
323 | |||
324 | public function testSubscriptionEntity() |
||
327 | } |
||
328 | |||
329 | public function testSubscriptionLineEntity() |
||
330 | { |
||
331 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionLine::class); |
||
332 | } |
||
333 | |||
334 | public function testSubscriptionTypeEntity() |
||
335 | { |
||
336 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionType::class); |
||
337 | } |
||
338 | public function testTaskEntity() |
||
339 | { |
||
340 | $this->performEntityTest(\Picqer\Financials\Exact\Task::class); |
||
|
|||
341 | } |
||
342 | |||
343 | public function testTransactionEntity() |
||
344 | { |
||
345 | $this->performEntityTest(\Picqer\Financials\Exact\Transaction::class); |
||
346 | } |
||
347 | |||
348 | public function testTransactionLineEntity() |
||
349 | { |
||
350 | $this->performEntityTest(\Picqer\Financials\Exact\TransactionLine::class); |
||
351 | } |
||
352 | |||
353 | public function testUnitsEntity() |
||
354 | { |
||
355 | $this->performEntityTest(\Picqer\Financials\Exact\Units::class); |
||
356 | } |
||
357 | |||
358 | public function testVatcodeEntity() |
||
359 | { |
||
360 | $this->performEntityTest(\Picqer\Financials\Exact\VatCode::class); |
||
361 | } |
||
362 | |||
363 | public function testWebhookSubscriptionEntity() |
||
364 | { |
||
365 | $this->performEntityTest(\Picqer\Financials\Exact\WebhookSubscription::class); |
||
366 | } |
||
367 | |||
368 | public function testStockCountEntity() |
||
369 | { |
||
370 | $this->performEntityTest(\Picqer\Financials\Exact\StockCount::class); |
||
371 | } |
||
372 | |||
373 | public function testStockCountLineEntity() |
||
374 | { |
||
375 | $this->performEntityTest(\Picqer\Financials\Exact\StockCountLine::class); |
||
376 | } |
||
377 | |||
378 | public function testWarehouseEntity() |
||
379 | { |
||
380 | $this->performEntityTest(\Picqer\Financials\Exact\Warehouse::class); |
||
381 | } |
||
382 | |||
383 | public function testStorageLocationEntity() |
||
384 | { |
||
385 | $this->performEntityTest(\Picqer\Financials\Exact\StorageLocation::class); |
||
386 | } |
||
387 | |||
388 | public function testGoodsDeliveryEntity() |
||
389 | { |
||
390 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsDelivery::class); |
||
391 | } |
||
392 | |||
393 | public function testGoodsDeliveryLineEntity() |
||
394 | { |
||
395 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsDeliveryLine::class); |
||
396 | } |
||
397 | |||
398 | public function testSalesOrderIDEntity() |
||
399 | { |
||
400 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrderID::class); |
||
401 | } |
||
402 | |||
403 | public function testItemWarehousePlanningDetails() |
||
404 | { |
||
405 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehousePlanningDetails::class); |
||
406 | } |
||
407 | |||
408 | public function testSalesShippingMethods() |
||
409 | { |
||
410 | $this->performEntityTest(\Picqer\Financials\Exact\SalesShippingMethods::class); |
||
411 | } |
||
412 | |||
413 | public function testInvoiceTerm() |
||
414 | { |
||
415 | $this->performEntityTest(\Picqer\Financials\Exact\InvoiceTerm::class); |
||
416 | } |
||
417 | |||
418 | public function testBillOfMaterialVersion() |
||
419 | { |
||
420 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialVersion::class); |
||
421 | } |
||
422 | |||
423 | public function testBillOfMaterialMaterial() |
||
424 | { |
||
425 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialMaterial::class); |
||
426 | } |
||
427 | |||
428 | public function testProject() |
||
429 | { |
||
430 | $this->performEntityTest(\Picqer\Financials\Exact\Project::class); |
||
431 | } |
||
432 | |||
433 | public function testProjectWBSByProject() |
||
434 | { |
||
435 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectWBSByProject::class); |
||
436 | } |
||
437 | |||
438 | public function testShopOrder() |
||
439 | { |
||
440 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrder::class); |
||
441 | } |
||
442 | |||
443 | public function testTimeTransactionEntity() |
||
444 | { |
||
445 | $this->performEntityTest(\Picqer\Financials\Exact\TimeTransaction::class); |
||
446 | } |
||
447 | |||
448 | public function testUser() |
||
449 | { |
||
450 | $this->performEntityTest(\Picqer\Financials\Exact\User::class); |
||
451 | } |
||
452 | |||
453 | public function testShopOrderMaterialPlan() |
||
454 | { |
||
455 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderMaterialPlan::class); |
||
456 | } |
||
457 | |||
458 | public function testShopOrderRoutingStepPlan() |
||
459 | { |
||
460 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderRoutingStepPlan::class); |
||
461 | } |
||
462 | |||
463 | public function testOperation() |
||
466 | } |
||
467 | |||
468 | public function testOperationResource() |
||
469 | { |
||
470 | $this->performEntityTest(\Picqer\Financials\Exact\OperationResource::class); |
||
471 | } |
||
472 | |||
473 | public function testAbsenceRegistration() |
||
474 | { |
||
475 | $this->performEntityTest(\Picqer\Financials\Exact\AbsenceRegistration::class); |
||
476 | } |
||
477 | |||
478 | public function testAbsenceRegistrationTransaction() |
||
479 | { |
||
480 | $this->performEntityTest(\Picqer\Financials\Exact\AbsenceRegistrationTransaction::class); |
||
481 | } |
||
482 | |||
483 | public function testDepartment() |
||
484 | { |
||
485 | $this->performEntityTest(\Picqer\Financials\Exact\Department::class); |
||
486 | } |
||
487 | |||
488 | public function testDivisionClass() |
||
489 | { |
||
490 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClass::class); |
||
491 | } |
||
492 | |||
493 | public function testDivisionClassName() |
||
494 | { |
||
495 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClassName::class); |
||
496 | } |
||
497 | |||
498 | public function testDivisionClassValue() |
||
499 | { |
||
500 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClassValue::class); |
||
501 | } |
||
502 | |||
503 | public function testJobGroup() |
||
504 | { |
||
505 | $this->performEntityTest(\Picqer\Financials\Exact\JobGroup::class); |
||
506 | } |
||
507 | |||
508 | public function testJobTitle() |
||
509 | { |
||
510 | $this->performEntityTest(\Picqer\Financials\Exact\JobTitle::class); |
||
511 | } |
||
512 | |||
513 | public function testLeaveBuildUpRegistration() |
||
514 | { |
||
515 | $this->performEntityTest(\Picqer\Financials\Exact\LeaveBuildUpRegistration::class); |
||
516 | } |
||
517 | |||
518 | public function testLeaveRegistration() |
||
519 | { |
||
520 | $this->performEntityTest(\Picqer\Financials\Exact\LeaveRegistration::class); |
||
521 | } |
||
522 | |||
523 | public function testSchedule() |
||
524 | { |
||
525 | $this->performEntityTest(\Picqer\Financials\Exact\Schedule::class); |
||
526 | } |
||
527 | |||
528 | public function testStockBatchNumber() |
||
529 | { |
||
530 | $this->performEntityTest(\Picqer\Financials\Exact\StockBatchNumber::class); |
||
531 | } |
||
532 | |||
533 | public function testStockSerialNumber() |
||
534 | { |
||
535 | $this->performEntityTest(\Picqer\Financials\Exact\StockSerialNumber::class); |
||
536 | } |
||
537 | |||
538 | public function testWarehouseTransferLine() |
||
539 | { |
||
540 | $this->performEntityTest(\Picqer\Financials\Exact\WarehouseTransferLine::class); |
||
541 | } |
||
542 | |||
543 | public function testWarehouseTransfer() |
||
544 | { |
||
545 | $this->performEntityTest(\Picqer\Financials\Exact\WarehouseTransfer::class); |
||
546 | } |
||
547 | |||
548 | public function testProductionArea() |
||
549 | { |
||
550 | $this->performEntityTest(\Picqer\Financials\Exact\ProductionArea::class); |
||
551 | } |
||
552 | |||
553 | public function testTimedTimeTransaction() |
||
554 | { |
||
555 | $this->performEntityTest(\Picqer\Financials\Exact\TimedTimeTransaction::class); |
||
556 | } |
||
557 | |||
558 | public function testWorkcenter() |
||
561 | } |
||
562 | |||
563 | public function testCostTransaction() |
||
564 | { |
||
565 | $this->performEntityTest(\Picqer\Financials\Exact\CostTransaction::class); |
||
566 | } |
||
567 | |||
568 | public function testProjectHourBudget() |
||
569 | { |
||
570 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectHourBudget::class); |
||
571 | } |
||
572 | |||
573 | public function testProjectPlanning() |
||
574 | { |
||
575 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectPlanning::class); |
||
576 | } |
||
577 | |||
578 | public function testProjectPlanningRecurring() |
||
579 | { |
||
580 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectPlanningRecurring::class); |
||
581 | } |
||
582 | |||
583 | public function testProjectRestrictionEmployee() |
||
584 | { |
||
585 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionEmployee::class); |
||
586 | } |
||
587 | |||
588 | public function testProjectRestrictionItem() |
||
589 | { |
||
590 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionItem::class); |
||
591 | } |
||
592 | |||
593 | public function testProjectRestrictionRebilling() |
||
594 | { |
||
595 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionRebilling::class); |
||
596 | } |
||
597 | |||
598 | public function testRecentCost() |
||
599 | { |
||
600 | $this->performEntityTest(\Picqer\Financials\Exact\RecentCost::class); |
||
601 | } |
||
602 | |||
603 | public function testRecentHour() |
||
604 | { |
||
605 | $this->performEntityTest(\Picqer\Financials\Exact\RecentHour::class); |
||
606 | } |
||
607 | |||
608 | public function testTimeCorrection() |
||
609 | { |
||
610 | $this->performEntityTest(\Picqer\Financials\Exact\TimeCorrection::class); |
||
611 | } |
||
612 | |||
613 | public function testEmployment() |
||
614 | { |
||
615 | $this->performEntityTest(\Picqer\Financials\Exact\Employment::class); |
||
616 | } |
||
617 | |||
618 | public function testEmploymentContract() |
||
619 | { |
||
620 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentContract::class); |
||
621 | } |
||
622 | |||
623 | public function testActiveEmployment() |
||
626 | } |
||
627 | |||
628 | public function testOpportunity() |
||
629 | { |
||
630 | $this->performEntityTest(\Picqer\Financials\Exact\Opportunity::class); |
||
631 | } |
||
632 | |||
633 | public function testItemWarehouseStorageLocation() |
||
634 | { |
||
635 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehouseStorageLocation::class); |
||
636 | } |
||
637 | |||
638 | protected function performEntityTest($entityName) |
||
647 | } |
||
648 | } |
||
649 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths