mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Exclude dir for phan
This commit is contained in:
parent
a0f515ef12
commit
4415246d46
|
|
@ -325,6 +325,7 @@ return [
|
|||
// mymodule seen in cti, but not in git.
|
||||
.'|htdocs/custom/.*' // Ignore all custom modules @phpstan-ignore-line
|
||||
.'|htdocs/.*/canvas/.*/tpl/.*.tpl.php' // @phpstan-ignore-line
|
||||
.'|htdocs/admin/tools/ui/.*' // @phpstan-ignore-line
|
||||
//.'|htdocs/modulebuilder/template/.*' // @phpstan-ignore-line
|
||||
// Included as stub (better analysis)
|
||||
.'|htdocs/includes/nusoap/.*' // @phpstan-ignore-line
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ require_once __DIR__.'/plugins/DeprecatedModuleNameFixer.php';
|
|||
$config['exclude_file_regex'] = '@^(' // @phpstan-ignore-line
|
||||
.'dummy' // @phpstan-ignore-line
|
||||
.'|htdocs/.*/canvas/.*/tpl/.*.tpl.php' // @phpstan-ignore-line
|
||||
.'|htdocs/modulebuilder/template/.*' // @phpstan-ignore-line
|
||||
.'|htdocs/admin/tools/ui/.*' // @phpstan-ignore-line
|
||||
//.'|htdocs/modulebuilder/template/.*' // @phpstan-ignore-line
|
||||
// Included as stub (old version + incompatible typing hints)
|
||||
.'|htdocs/includes/restler/.*' // @phpstan-ignore-line
|
||||
// Included as stub (did not seem properly analysed by phan without it)
|
||||
|
|
@ -33,7 +34,6 @@ $config['exclude_file_regex'] = '@^(' // @phpstan-ignore-line
|
|||
|
||||
// $config['plugins'][] = __DIR__.'/plugins/ParamMatchRegexPlugin.php';
|
||||
$config['plugins'][] = 'DeprecateAliasPlugin';
|
||||
$config['plugins'][] = 'DeprecateAliasPlugin';
|
||||
// $config['plugins'][] = __DIR__.'/plugins/GetPostFixerPlugin.php';
|
||||
// $config['plugins'][] = 'PHPDocToRealTypesPlugin';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user