Files
opensem/config/microscope.php
Ludovic CANDELLIER b50f50ea62 [WIP] Refactor project
2021-05-21 00:21:05 +02:00

41 lines
1.0 KiB
PHP

<?php
return [
/**
* Will disable microscope if set to false.
*/
'is_enabled' => env('MICROSCOPE_ENABLED', true),
/**
* Avoids auto-fix if is set to true.
*/
'no_fix' => false,
/**
* An array of patterns relative to base_path that should be ignored when reporting.
*/
'ignore' => [
// 'nova*'
],
/**
* You can turn off the extra variable passing detection, which performs some logs.
*/
'log_unused_view_vars' => true,
/**
* An array of root namespaces to be ignored while scanning for errors.
*/
'ignored_namespaces' => [
// 'Laravel\\Nova\\',
// 'Laravel\\Nova\\Tests\\'
],
/**
* By default, we only process the first 2000 characters of a file to find the "class" keyword.
* So, if you have a lot of use statements or very big docblocks for your classes so that
* the "class" falls deep down, you may increase this value, so that it searches deeper.
*/
'class_search_buffer' => 2500,
];