mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 19:58:41 +00:00
fix billing process
This commit is contained in:
parent
ad3cc28c3a
commit
60e9a40727
|
|
@ -3,6 +3,9 @@ includes:
|
|||
parameters:
|
||||
fileExtensions:
|
||||
- php
|
||||
scanDirectories:
|
||||
- ../../Resources/tcpdf
|
||||
- ../../Resources/PhpOffice
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
inferPrivatePropertyTypeFromConstructor: true
|
||||
checkMissingIterableValueType: false
|
||||
|
|
@ -38,7 +41,6 @@ parameters:
|
|||
- */Markdown/Markdown.php
|
||||
- */Socket/*
|
||||
- */node_modules/*
|
||||
- */Modules/Shop/Admin/Install/Application/*
|
||||
- */Modules/**/Application/*
|
||||
- */Accounting/*
|
||||
ignoreErrors:
|
||||
|
|
|
|||
|
|
@ -35,13 +35,13 @@ foreach ($modules as $module) {
|
|||
}
|
||||
|
||||
if (\stripos($model, '.php') === false) {
|
||||
throw \Exception('invalid substr');
|
||||
throw new Exception('invalid substr');
|
||||
}
|
||||
|
||||
$model = \substr($model, 4, -4); // remove Null and .php from string
|
||||
|
||||
if (empty($model)) {
|
||||
throw \Exception('invalid substr');
|
||||
throw new Exception('invalid substr');
|
||||
}
|
||||
|
||||
if (!\is_file(__DIR__ . '/../../Modules/' . $module . '/tests/Models/Null' . $model . 'Test.php')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user