mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 04:34:36 -04:00
Optimize phpstan
This commit is contained in:
parent
11de4b241d
commit
dad8aea5b0
@ -108,7 +108,7 @@ class VendorHtmlEngine
|
|||||||
{
|
{
|
||||||
if (! $this->vendor->currency()) {
|
if (! $this->vendor->currency()) {
|
||||||
throw new Exception(debug_backtrace()[1]['function'], 1);
|
throw new Exception(debug_backtrace()[1]['function'], 1);
|
||||||
exit;
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
App::forgetInstance('translator');
|
App::forgetInstance('translator');
|
||||||
|
@ -2,9 +2,12 @@ includes:
|
|||||||
- ./vendor/nunomaduro/larastan/extension.neon
|
- ./vendor/nunomaduro/larastan/extension.neon
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
|
treatPhpDocTypesAsCertain: false
|
||||||
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#'
|
||||||
|
parallel:
|
||||||
|
maximumNumberOfProcesses: 8
|
||||||
level: 4
|
level: 4
|
||||||
paths:
|
paths:
|
||||||
- 'app/'
|
- 'app/'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user