1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fixes for test

This commit is contained in:
David Bomba 2023-07-05 21:28:15 +10:00
parent 751e1471b2
commit 320f0242d0
2 changed files with 6 additions and 2 deletions

View File

@ -501,6 +501,8 @@ class BaseExport
foreach (array_merge($this->input['report_keys'], $this->forced_keys) as $value) { foreach (array_merge($this->input['report_keys'], $this->forced_keys) as $value) {
$key = array_search($value, $this->entity_keys); $key = array_search($value, $this->entity_keys);
$prefix = '';
if(!$key) { if(!$key) {
$prefix = stripos($value, 'client.') !== false ? ctrans('texts.client') : ctrans('texts.contact'); $prefix = stripos($value, 'client.') !== false ? ctrans('texts.client') : ctrans('texts.contact');

View File

@ -2,9 +2,11 @@ includes:
- ./vendor/nunomaduro/larastan/extension.neon - ./vendor/nunomaduro/larastan/extension.neon
parameters: parameters:
parallel:
processTimeout: 300.0
treatPhpDocTypesAsCertain: false treatPhpDocTypesAsCertain: false
parallel:
jobSize: 20
maximumNumberOfProcesses: 2
processTimeout: 300.0
ignoreErrors: ignoreErrors:
- '#Call to an undefined method .*badMethod\(\)#' - '#Call to an undefined method .*badMethod\(\)#'
- '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#' - '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#'