mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Optimize phpstan
This commit is contained in:
parent
11de4b241d
commit
dad8aea5b0
@ -108,7 +108,7 @@ class VendorHtmlEngine
|
||||
{
|
||||
if (! $this->vendor->currency()) {
|
||||
throw new Exception(debug_backtrace()[1]['function'], 1);
|
||||
exit;
|
||||
return [];
|
||||
}
|
||||
|
||||
App::forgetInstance('translator');
|
||||
|
@ -2,9 +2,12 @@ includes:
|
||||
- ./vendor/nunomaduro/larastan/extension.neon
|
||||
|
||||
parameters:
|
||||
treatPhpDocTypesAsCertain: false
|
||||
ignoreErrors:
|
||||
- '#Call to an undefined method .*badMethod\(\)#'
|
||||
- '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#'
|
||||
parallel:
|
||||
maximumNumberOfProcesses: 8
|
||||
level: 4
|
||||
paths:
|
||||
- 'app/'
|
||||
|
Loading…
Reference in New Issue
Block a user